#2B417E#2B417E
#2B417E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.107 H 266.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2B417E |
|---|---|
| RGB | rgb(43, 65, 126) |
| HSL | hsl(224, 49%, 33%) |
| HSV | hsv(224, 66%, 49%) |
| CMYK | cmyk(65.9%, 48.4%, 0%, 50.6%) |
| CIE-LAB | lab(28.90, 12.50, -37.22) |
| CIE-LCH | lch(28.90, 39.26, 288.56°) |
| OKLab | oklab(39.15% -0.0063 -0.1064) |
| OKLCH | oklch(39.15% 0.107 266.6) |
| XYZ | xyz(6.6512, 5.7999, 20.5036) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.99
Darkish Blue
#014182
ΔE00 4.42
Twilight Blue
#0A437A
ΔE00 4.97
Marine Blue
#01386A
ΔE00 5.74
Prussian Blue
#004577
ΔE00 6.55
Blueberry
#464196
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B417E #7E682B
analogous
#2B6A7E #2B417E #3E2B7E
triadic
#2B417E #7E2B41 #417E2B
tetradic
#2B417E #7E2B6A #7E682B #2B7E3E
square
#2B417E #7E2B6A #7E682B #2B7E3E
split-complementary
#2B417E #7E3E2B #6A7E2B
monochromatic
#0C1223 #1B2950 #2B417E #3B59AC #5C78C7
Accessibility & contrast
On white
9.72
#2B417E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2B417E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B417E
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B417E | 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)
#234880
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b417e; /* rgb */ color: rgb(43, 65, 126); /* oklch */ color: oklch(39.2% 0.107 266.6);
Tailwind
colors: {
custom: {
50: '#6d75a4',
500: '#2b417e',
950: '#000000',
},
}SCSS
$custom: #2b417e; $custom-light: #6d75a4; $custom-dark: #000000;
JSON
{
"hex": "#2b417e",
"rgb": {
"r": 43,
"g": 65,
"b": 126
},
"hsl": {
"h": 224.096,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.39151,
"c": 0.1066,
"h": 266.6
},
"luminance": 0.05801
}Semantic roles & 50–950 ramp
primary
#2B417E
secondary
#AD9758
accent
#B44FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F