#2B407C#2B407C
#2B407C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.105 H 267.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2B407C |
|---|---|
| RGB | rgb(43, 64, 124) |
| HSL | hsl(224, 49%, 33%) |
| HSV | hsv(224, 65%, 49%) |
| CMYK | cmyk(65.3%, 48.4%, 0%, 51.4%) |
| CIE-LAB | lab(28.47, 12.43, -36.66) |
| CIE-LCH | lch(28.47, 38.70, 288.73°) |
| OKLab | oklab(38.78% -0.0056 -0.1048) |
| OKLCH | oklch(38.78% 0.105 267) |
| XYZ | xyz(6.4665, 5.6350, 19.8118) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.39
Darkish Blue
#014182
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 5.14
Marine Blue
#01386A
ΔE00 5.63
Prussian Blue
#004577
ΔE00 6.73
Blueberry
#464196
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B407C #7C672B
analogous
#2B697C #2B407C #3E2B7C
triadic
#2B407C #7C2B40 #407C2B
tetradic
#2B407C #7C2B69 #7C672B #2B7C3E
square
#2B407C #7C2B69 #7C672B #2B7C3E
split-complementary
#2B407C #7C3E2B #697C2B
monochromatic
#0B1121 #1B294F #2B407C #3B57A9 #5B77C6
Accessibility & contrast
On white
9.87
#2B407C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2B407C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B407C
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B407C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B407C | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#14407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b407c; /* rgb */ color: rgb(43, 64, 124); /* oklch */ color: oklch(38.8% 0.105 267.0);
Tailwind
colors: {
custom: {
50: '#6d74a2',
500: '#2b407c',
950: '#000000',
},
}SCSS
$custom: #2b407c; $custom-light: #6d74a2; $custom-dark: #000000;
JSON
{
"hex": "#2b407c",
"rgb": {
"r": 43,
"g": 64,
"b": 124
},
"hsl": {
"h": 224.444,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.3878,
"c": 0.10492,
"h": 267
},
"luminance": 0.05636
}Semantic roles & 50–950 ramp
primary
#2B407C
secondary
#AC9657
accent
#B550D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F