#2C406F#2C406F
#2C406F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.085 H 265.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C406F |
|---|---|
| RGB | rgb(44, 64, 111) |
| HSL | hsl(222, 43%, 30%) |
| HSV | hsv(222, 60%, 44%) |
| CMYK | cmyk(60.4%, 42.3%, 0%, 56.5%) |
| CIE-LAB | lab(27.71, 7.78, -29.66) |
| CIE-LCH | lch(27.71, 30.67, 284.69°) |
| OKLab | oklab(37.94% -0.007 -0.0842) |
| OKLCH | oklch(37.94% 0.085 265.2) |
| XYZ | xyz(5.7404, 5.3495, 15.7659) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.21
Twilight Blue
#0A437A
ΔE00 5.26
Darkish Blue
#014182
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 5.75
Marine
#042E60
ΔE00 6.33
Prussian Blue
#004577
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C406F #6F5B2C
analogous
#2C616F #2C406F #3A2C6F
triadic
#2C406F #6F2C40 #406F2C
tetradic
#2C406F #6F2C61 #6F5B2C #2C6F3A
square
#2C406F #6F2C61 #6F5B2C #2C6F3A
split-complementary
#2C406F #6F3A2C #616F2C
monochromatic
#090D17 #1B2743 #2C406F #3D599B #5876BD
Accessibility & contrast
On white
10.14
#2C406F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2C406F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C406F
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C406F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C406F | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#233F6E
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c406f; /* rgb */ color: rgb(44, 64, 111); /* oklch */ color: oklch(37.9% 0.085 265.2);
Tailwind
colors: {
custom: {
50: '#6b7498',
500: '#2c406f',
950: '#000000',
},
}SCSS
$custom: #2c406f; $custom-light: #6b7498; $custom-dark: #000000;
JSON
{
"hex": "#2c406f",
"rgb": {
"r": 44,
"g": 64,
"b": 111
},
"hsl": {
"h": 222.09,
"s": 43.226,
"l": 30.392
},
"oklch": {
"l": 0.37942,
"c": 0.08452,
"h": 265.2
},
"luminance": 0.0535
}Semantic roles & 50–950 ramp
primary
#2C406F
secondary
#A18A56
accent
#AD55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E