#2B478E#2B478E
#2B478E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.122 H 265.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2B478E |
|---|---|
| RGB | rgb(43, 71, 142) |
| HSL | hsl(223, 54%, 36%) |
| HSV | hsv(223, 70%, 56%) |
| CMYK | cmyk(69.7%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(31.74, 14.51, -42.56) |
| CIE-LCH | lch(31.74, 44.97, 288.83°) |
| OKLab | oklab(41.67% -0.0101 -0.122) |
| OKLCH | oklch(41.67% 0.122 265.3) |
| XYZ | xyz(8.1303, 6.9723, 26.5033) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.94
Cobalt
#0047AB
ΔE00 4.35
Darkish Blue
#014182
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 5.01
Twilight Blue
#0A437A
ΔE00 5.07
Light Navy
#155084
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B478E #8E722B
analogous
#2B798E #2B478E #412B8E
triadic
#2B478E #8E2B47 #478E2B
tetradic
#2B478E #8E2B79 #8E722B #2B8E41
square
#2B478E #8E2B79 #8E722B #2B8E41
split-complementary
#2B478E #8E412B #798E2B
monochromatic
#0F1830 #1D305F #2B478E #395EBD #6382D0
Accessibility & contrast
On white
8.77
#2B478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2B478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B478E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B478E | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2b478e; /* rgb */ color: rgb(43, 71, 142); /* oklch */ color: oklch(41.7% 0.122 265.3);
Tailwind
colors: {
custom: {
50: '#7179af',
500: '#2b478e',
950: '#000000',
},
}SCSS
$custom: #2b478e; $custom-light: #7179af; $custom-dark: #000000;
JSON
{
"hex": "#2b478e",
"rgb": {
"r": 43,
"g": 71,
"b": 142
},
"hsl": {
"h": 223.03,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.41669,
"c": 0.12245,
"h": 265.3
},
"luminance": 0.06973
}Semantic roles & 50–950 ramp
primary
#2B478E
secondary
#B69D5F
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F