#2C417A#2C417A
#2C417A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.100 H 266.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C417A |
|---|---|
| RGB | rgb(44, 65, 122) |
| HSL | hsl(224, 47%, 33%) |
| HSV | hsv(224, 64%, 48%) |
| CMYK | cmyk(63.9%, 46.7%, 0%, 52.2%) |
| CIE-LAB | lab(28.70, 11.19, -35.04) |
| CIE-LCH | lch(28.70, 36.78, 287.71°) |
| OKLab | oklab(38.92% -0.006 -0.1) |
| OKLCH | oklch(38.92% 0.1 266.6) |
| XYZ | xyz(6.4407, 5.7207, 19.1734) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.42
Darkish Blue
#014182
ΔE00 4.65
Twilight Blue
#0A437A
ΔE00 5.03
Marine Blue
#01386A
ΔE00 5.62
Prussian Blue
#004577
ΔE00 6.57
Marine
#042E60
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C417A #7A652C
analogous
#2C687A #2C417A #3E2C7A
triadic
#2C417A #7A2C41 #417A2C
tetradic
#2C417A #7A2C68 #7A652C #2C7A3E
square
#2C417A #7A2C68 #7A652C #2C7A3E
split-complementary
#2C417A #7A3E2C #687A2C
monochromatic
#0C1120 #1C294D #2C417A #3C59A7 #5C78C4
Accessibility & contrast
On white
9.79
#2C417A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2C417A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C417A
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C417A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C417A | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c417a; /* rgb */ color: rgb(44, 65, 122); /* oklch */ color: oklch(38.9% 0.100 266.6);
Tailwind
colors: {
custom: {
50: '#6d75a1',
500: '#2c417a',
950: '#000000',
},
}SCSS
$custom: #2c417a; $custom-light: #6d75a1; $custom-dark: #000000;
JSON
{
"hex": "#2c417a",
"rgb": {
"r": 44,
"g": 65,
"b": 122
},
"hsl": {
"h": 223.846,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.38924,
"c": 0.10016,
"h": 266.6
},
"luminance": 0.05721
}Semantic roles & 50–950 ramp
primary
#2C417A
secondary
#AA9457
accent
#B351D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E