#2B4A87#2B4A87
#2B4A87 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.108 H 262.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4A87 |
|---|---|
| RGB | rgb(43, 74, 135) |
| HSL | hsl(220, 52%, 35%) |
| HSV | hsv(220, 68%, 53%) |
| CMYK | cmyk(68.1%, 45.2%, 0%, 47.1%) |
| CIE-LAB | lab(32.17, 9.82, -37.58) |
| CIE-LCH | lch(32.17, 38.84, 284.64°) |
| OKLab | oklab(41.85% -0.0143 -0.1073) |
| OKLCH | oklch(41.85% 0.108 262.4) |
| XYZ | xyz(7.8167, 7.1597, 23.8870) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.79
Dusk Blue
#26538D
ΔE00 3.75
Darkish Blue
#014182
ΔE00 4.05
Twilight Blue
#0A437A
ΔE00 4.27
Light Navy
#155084
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4A87 #87682B
analogous
#2B7887 #2B4A87 #3A2B87
triadic
#2B4A87 #872B4A #4A872B
tetradic
#2B4A87 #872B78 #87682B #2B873A
square
#2B4A87 #872B78 #87682B #2B873A
split-complementary
#2B4A87 #873A2B #78872B
monochromatic
#0D172A #1C3159 #2B4A87 #3A63B5 #6085CC
Accessibility & contrast
On white
8.63
#2B4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2B4A87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4A87
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4A87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4A87 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b4a87; /* rgb */ color: rgb(43, 74, 135); /* oklch */ color: oklch(41.8% 0.108 262.4);
Tailwind
colors: {
custom: {
50: '#6f7caa',
500: '#2b4a87',
950: '#000000',
},
}SCSS
$custom: #2b4a87; $custom-light: #6f7caa; $custom-dark: #000000;
JSON
{
"hex": "#2b4a87",
"rgb": {
"r": 43,
"g": 74,
"b": 135
},
"hsl": {
"h": 219.783,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.41845,
"c": 0.10827,
"h": 262.4
},
"luminance": 0.0716
}Semantic roles & 50–950 ramp
primary
#2B4A87
secondary
#B2955B
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F