#2B4887#2B4887
#2B4887 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.111 H 263.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4887 |
|---|---|
| RGB | rgb(43, 72, 135) |
| HSL | hsl(221, 52%, 35%) |
| HSV | hsv(221, 68%, 53%) |
| CMYK | cmyk(68.1%, 46.7%, 0%, 47.1%) |
| CIE-LAB | lab(31.57, 11.16, -38.53) |
| CIE-LCH | lch(31.57, 40.11, 286.16°) |
| OKLab | oklab(41.39% -0.0122 -0.1102) |
| OKLCH | oklch(41.39% 0.111 263.7) |
| XYZ | xyz(7.6853, 6.8969, 23.8432) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.88
Darkish Blue
#014182
ΔE00 3.96
Twilight Blue
#0A437A
ΔE00 4.36
Dusk Blue
#26538D
ΔE00 4.48
Cobalt
#0047AB
ΔE00 5.15
Light Navy
#155084
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4887 #876A2B
analogous
#2B7687 #2B4887 #3C2B87
triadic
#2B4887 #872B48 #48872B
tetradic
#2B4887 #872B76 #876A2B #2B873C
square
#2B4887 #872B76 #876A2B #2B873C
split-complementary
#2B4887 #873C2B #76872B
monochromatic
#0D162A #1C2F59 #2B4887 #3A61B5 #6082CC
Accessibility & contrast
On white
8.83
#2B4887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B4887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4887
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4887 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b4887; /* rgb */ color: rgb(43, 72, 135); /* oklch */ color: oklch(41.4% 0.111 263.7);
Tailwind
colors: {
custom: {
50: '#6f7aaa',
500: '#2b4887',
950: '#000000',
},
}SCSS
$custom: #2b4887; $custom-light: #6f7aaa; $custom-dark: #000000;
JSON
{
"hex": "#2b4887",
"rgb": {
"r": 43,
"g": 72,
"b": 135
},
"hsl": {
"h": 221.087,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.41386,
"c": 0.11083,
"h": 263.7
},
"luminance": 0.06898
}Semantic roles & 50–950 ramp
primary
#2B4887
secondary
#B2975B
accent
#AE4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F