#2C417D#2C417D
#2C417D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.105 H 267.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2C417D |
|---|---|
| RGB | rgb(44, 65, 125) |
| HSL | hsl(224, 48%, 33%) |
| HSV | hsv(224, 65%, 49%) |
| CMYK | cmyk(64.8%, 48%, 0%, 51%) |
| CIE-LAB | lab(28.89, 12.32, -36.61) |
| CIE-LCH | lch(28.89, 38.62, 288.60°) |
| OKLab | oklab(39.14% -0.0055 -0.1046) |
| OKLCH | oklch(39.14% 0.105 267) |
| XYZ | xyz(6.6294, 5.7962, 20.1675) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.19
Darkish Blue
#014182
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 5.11
Marine Blue
#01386A
ΔE00 5.82
Blueberry
#464196
ΔE00 6.66
Prussian Blue
#004577
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C417D #7D682C
analogous
#2C697D #2C417D #3F2C7D
triadic
#2C417D #7D2C41 #417D2C
tetradic
#2C417D #7D2C69 #7D682C #2C7D3F
square
#2C417D #7D2C69 #7D682C #2C7D3F
split-complementary
#2C417D #7D3F2C #697D2C
monochromatic
#0C1222 #1C2950 #2C417D #3C59AA #5D78C6
Accessibility & contrast
On white
9.72
#2C417D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2C417D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C417D
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C417D | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c417d; /* rgb */ color: rgb(44, 65, 125); /* oklch */ color: oklch(39.1% 0.105 267.0);
Tailwind
colors: {
custom: {
50: '#6e75a3',
500: '#2c417d',
950: '#000000',
},
}SCSS
$custom: #2c417d; $custom-light: #6e75a3; $custom-dark: #000000;
JSON
{
"hex": "#2c417d",
"rgb": {
"r": 44,
"g": 65,
"b": 125
},
"hsl": {
"h": 224.444,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.39137,
"c": 0.10473,
"h": 267
},
"luminance": 0.05797
}Semantic roles & 50–950 ramp
primary
#2C417D
secondary
#AC9759
accent
#B450D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F