#2B478B#2B478B
#2B478B is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.118 H 264.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B478B |
|---|---|
| RGB | rgb(43, 71, 139) |
| HSL | hsl(223, 53%, 36%) |
| HSV | hsv(223, 69%, 55%) |
| CMYK | cmyk(69.1%, 48.9%, 0%, 45.5%) |
| CIE-LAB | lab(31.54, 13.37, -41.04) |
| CIE-LCH | lch(31.54, 43.17, 288.04°) |
| OKLab | oklab(41.45% -0.0105 -0.1176) |
| OKLCH | oklch(41.45% 0.118 264.9) |
| XYZ | xyz(7.9081, 6.8834, 25.3330) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.91
Darkish Blue
#014182
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.70
Twilight Blue
#0A437A
ΔE00 4.79
Dusk Blue
#26538D
ΔE00 4.92
Light Navy
#155084
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B478B #8B6F2B
analogous
#2B778B #2B478B #3F2B8B
triadic
#2B478B #8B2B47 #478B2B
tetradic
#2B478B #8B2B77 #8B6F2B #2B8B3F
square
#2B478B #8B2B77 #8B6F2B #2B8B3F
split-complementary
#2B478B #8B3F2B #778B2B
monochromatic
#0E172E #1D2F5C #2B478B #395FBA #6282CE
Accessibility & contrast
On white
8.84
#2B478B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B478B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B478B
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B478B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B478B | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#0E468A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b478b; /* rgb */ color: rgb(43, 71, 139); /* oklch */ color: oklch(41.4% 0.118 264.9);
Tailwind
colors: {
custom: {
50: '#7079ad',
500: '#2b478b',
950: '#000000',
},
}SCSS
$custom: #2b478b; $custom-light: #7079ad; $custom-dark: #000000;
JSON
{
"hex": "#2b478b",
"rgb": {
"r": 43,
"g": 71,
"b": 139
},
"hsl": {
"h": 222.5,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.41448,
"c": 0.11804,
"h": 264.9
},
"luminance": 0.06884
}Semantic roles & 50–950 ramp
primary
#2B478B
secondary
#B59B5D
accent
#B24CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F