#2B478C#2B478C
#2B478C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.120 H 265.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B478C |
|---|---|
| RGB | rgb(43, 71, 140) |
| HSL | hsl(223, 53%, 36%) |
| HSV | hsv(223, 69%, 55%) |
| CMYK | cmyk(69.3%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.61, 13.75, -41.55) |
| CIE-LCH | lch(31.61, 43.77, 288.31°) |
| OKLab | oklab(41.52% -0.0104 -0.1191) |
| OKLCH | oklch(41.52% 0.12 265) |
| XYZ | xyz(7.9815, 6.9127, 25.7195) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.91
Darkish Blue
#014182
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.58
Twilight Blue
#0A437A
ΔE00 4.88
Dusk Blue
#26538D
ΔE00 4.95
Light Navy
#155084
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B478C #8C702B
analogous
#2B778C #2B478C #3F2B8C
triadic
#2B478C #8C2B47 #478C2B
tetradic
#2B478C #8C2B77 #8C702B #2B8C3F
square
#2B478C #8C2B77 #8C702B #2B8C3F
split-complementary
#2B478C #8C3F2B #778C2B
monochromatic
#0E182E #1D2F5D #2B478C #395FBB #6282CF
Accessibility & contrast
On white
8.81
#2B478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B478C
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B478C | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b478c; /* rgb */ color: rgb(43, 71, 140); /* oklch */ color: oklch(41.5% 0.120 265.0);
Tailwind
colors: {
custom: {
50: '#7079ae',
500: '#2b478c',
950: '#000000',
},
}SCSS
$custom: #2b478c; $custom-light: #7079ae; $custom-dark: #000000;
JSON
{
"hex": "#2b478c",
"rgb": {
"r": 43,
"g": 71,
"b": 140
},
"hsl": {
"h": 222.68,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.41521,
"c": 0.11951,
"h": 265
},
"luminance": 0.06914
}Semantic roles & 50–950 ramp
primary
#2B478C
secondary
#B59C5E
accent
#B34BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F