#2B417A#2B417A
#2B417A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.101 H 266.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B417A |
|---|---|
| RGB | rgb(43, 65, 122) |
| HSL | hsl(223, 48%, 32%) |
| HSV | hsv(223, 65%, 48%) |
| CMYK | cmyk(64.8%, 46.7%, 0%, 52.2%) |
| CIE-LAB | lab(28.64, 10.98, -35.13) |
| CIE-LCH | lch(28.64, 36.81, 287.36°) |
| OKLab | oklab(38.87% -0.007 -0.1003) |
| OKLCH | oklch(38.87% 0.101 266) |
| XYZ | xyz(6.3982, 5.6988, 19.1714) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.29
Darkish Blue
#014182
ΔE00 4.45
Twilight Blue
#0A437A
ΔE00 4.83
Marine Blue
#01386A
ΔE00 5.46
Prussian Blue
#004577
ΔE00 6.38
Marine
#042E60
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B417A #7A642B
analogous
#2B697A #2B417A #3C2B7A
triadic
#2B417A #7A2B41 #417A2B
tetradic
#2B417A #7A2B69 #7A642B #2B7A3C
square
#2B417A #7A2B69 #7A642B #2B7A3C
split-complementary
#2B417A #7A3C2B #697A2B
monochromatic
#0B111F #1B294D #2B417A #3B59A7 #5A78C5
Accessibility & contrast
On white
9.81
#2B417A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B417A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B417A
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B417A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B417A | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#194079
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b417a; /* rgb */ color: rgb(43, 65, 122); /* oklch */ color: oklch(38.9% 0.101 266.0);
Tailwind
colors: {
custom: {
50: '#6d75a1',
500: '#2b417a',
950: '#000000',
},
}SCSS
$custom: #2b417a; $custom-light: #6d75a1; $custom-dark: #000000;
JSON
{
"hex": "#2b417a",
"rgb": {
"r": 43,
"g": 65,
"b": 122
},
"hsl": {
"h": 223.291,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.38865,
"c": 0.10052,
"h": 266
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#2B417A
secondary
#AB9356
accent
#B250D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E