#2B407E#2B407E
#2B407E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.108 H 267.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B407E |
|---|---|
| RGB | rgb(43, 64, 126) |
| HSL | hsl(225, 49%, 33%) |
| HSV | hsv(225, 66%, 49%) |
| CMYK | cmyk(65.9%, 49.2%, 0%, 50.6%) |
| CIE-LAB | lab(28.61, 13.18, -37.69) |
| CIE-LCH | lch(28.61, 39.93, 289.28°) |
| OKLab | oklab(38.92% -0.0052 -0.1078) |
| OKLCH | oklch(38.92% 0.108 267.2) |
| XYZ | xyz(6.5943, 5.6862, 20.4846) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.26
Darkish Blue
#014182
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 5.21
Marine Blue
#01386A
ΔE00 5.78
Blueberry
#464196
ΔE00 6.50
Prussian Blue
#004577
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B407E #7E692B
analogous
#2B697E #2B407E #3F2B7E
triadic
#2B407E #7E2B40 #407E2B
tetradic
#2B407E #7E2B69 #7E692B #2B7E3F
square
#2B407E #7E2B69 #7E692B #2B7E3F
split-complementary
#2B407E #7E3F2B #697E2B
monochromatic
#0C1223 #1B2950 #2B407E #3B57AC #5C77C7
Accessibility & contrast
On white
9.83
#2B407E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B407E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B407E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B407E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B407E | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214780
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b407e; /* rgb */ color: rgb(43, 64, 126); /* oklch */ color: oklch(38.9% 0.108 267.2);
Tailwind
colors: {
custom: {
50: '#6e74a4',
500: '#2b407e',
950: '#000000',
},
}SCSS
$custom: #2b407e; $custom-light: #6e74a4; $custom-dark: #000000;
JSON
{
"hex": "#2b407e",
"rgb": {
"r": 43,
"g": 64,
"b": 126
},
"hsl": {
"h": 224.819,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.38925,
"c": 0.10795,
"h": 267.2
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#2B407E
secondary
#AD9858
accent
#B64FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F