#2B478F#2B478F
#2B478F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.124 H 265.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2B478F |
|---|---|
| RGB | rgb(43, 71, 143) |
| HSL | hsl(223, 54%, 36%) |
| HSV | hsv(223, 70%, 56%) |
| CMYK | cmyk(69.9%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.81, 14.90, -43.06) |
| CIE-LCH | lch(31.81, 45.56, 289.08°) |
| OKLab | oklab(41.74% -0.01 -0.1235) |
| OKLCH | oklch(41.74% 0.124 265.4) |
| XYZ | xyz(8.2057, 7.0024, 26.9004) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.98
Cobalt
#0047AB
ΔE00 4.23
Darkish Blue
#014182
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 5.05
Twilight Blue
#0A437A
ΔE00 5.16
Light Navy
#155084
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B478F #8F732B
analogous
#2B798F #2B478F #412B8F
triadic
#2B478F #8F2B47 #478F2B
tetradic
#2B478F #8F2B79 #8F732B #2B8F41
square
#2B478F #8F2B79 #8F732B #2B8F41
split-complementary
#2B478F #8F412B #798F2B
monochromatic
#0F1831 #1D3060 #2B478F #395EBE #6482D0
Accessibility & contrast
On white
8.75
#2B478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2B478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B478F
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B478F | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2b478f; /* rgb */ color: rgb(43, 71, 143); /* oklch */ color: oklch(41.7% 0.124 265.4);
Tailwind
colors: {
custom: {
50: '#7179b0',
500: '#2b478f',
950: '#000000',
},
}SCSS
$custom: #2b478f; $custom-light: #7179b0; $custom-dark: #000000;
JSON
{
"hex": "#2b478f",
"rgb": {
"r": 43,
"g": 71,
"b": 143
},
"hsl": {
"h": 223.2,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.41743,
"c": 0.1239,
"h": 265.4
},
"luminance": 0.07003
}Semantic roles & 50–950 ramp
primary
#2B478F
secondary
#B79E5F
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F