#262C42 color

#262C42 rgb(38, 44, 66)
Shades of blue

The hex color #262C42 is a dark, desaturated blue.

In the RGB color model it is made of 14.9% red, 17.3% green and 25.9% blue (38, 44, 66).

Its hue angle is 227°, with 27% saturation and 20% lightness. For print, the CMYK equivalent is 42% cyan, 33% magenta, 0% yellow and 74% black.

The closest named color is Midnight Express (#21263A), a difference of 2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 13.8:1).

#262C42 color codes

HEX#262C42
RGBrgb(38, 44, 66)
RGB percentrgb(14.9%, 17.3%, 25.9%)
HSLhsl(227, 27%, 20%)
HSV / HSBhsv(227, 42%, 26%)
CMYKcmyk(42%, 33%, 0%, 74%)
CIE LABlab(18.39, 3.99, -14.7)
CIE LCHlch(18.39, 15.23, 285.19)
CIE XYZxyz(2.683, 2.607, 5.515)
Decimal2501698
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #262C42, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #262C42RatioAAAAAAA large
Sample text1.52:1FailFailFail
Sample text13.8:1PassPassPass
#262C42 as text onRatioAAAAAAA large
Sample text13.8:1PassPassPass
Sample text1.52:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #262C42 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #262c42; }
.text { color: #262c42; }
.border { border: 2px solid #262c42; }
.transparent { background-color: rgb(38 44 66 / 50%); }
.gradient { background: linear-gradient(to right, #262c42, #2e2642); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #262C42?
#262C42 is a dark, desaturated blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
What is the RGB value of #262C42?
The RGB value is 38, 44, 66: 38 red, 44 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #262C42?
The complementary color is #423C26, found by rotating the hue 180° on the color wheel.
Is black or white text better on #262C42?
White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.