#2B4D7D#2B4D7D
#2B4D7D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.090 H 257.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4D7D |
|---|---|
| RGB | rgb(43, 77, 125) |
| HSL | hsl(215, 49%, 33%) |
| HSV | hsv(215, 66%, 49%) |
| CMYK | cmyk(65.6%, 38.4%, 0%, 51%) |
| CIE-LAB | lab(32.48, 4.05, -30.89) |
| CIE-LCH | lch(32.48, 31.15, 277.46°) |
| OKLab | oklab(41.9% -0.0198 -0.0877) |
| OKLCH | oklch(41.9% 0.09 257.2) |
| XYZ | xyz(7.3505, 7.3013, 20.4200) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.91
Cobalt (survey)
#1E488F
ΔE00 3.17
Light Navy
#155084
ΔE00 3.46
Twilight Blue
#0A437A
ΔE00 3.91
Prussian Blue
#004577
ΔE00 4.41
Darkish Blue
#014182
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4D7D #7D5B2B
analogous
#2B767D #2B4D7D #322B7D
triadic
#2B4D7D #7D2B4D #4D7D2B
tetradic
#2B4D7D #7D2B76 #7D5B2B #2B7D32
square
#2B4D7D #7D2B76 #7D5B2B #2B7D32
split-complementary
#2B4D7D #7D322B #767D2B
monochromatic
#0C1522 #1B314F #2B4D7D #3B69AB #5C88C7
Accessibility & contrast
On white
8.54
#2B4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2B4D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4D7D
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4D7D | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b4d7d; /* rgb */ color: rgb(43, 77, 125); /* oklch */ color: oklch(41.9% 0.090 257.2);
Tailwind
colors: {
custom: {
50: '#6d7ea3',
500: '#2b4d7d',
950: '#000000',
},
}SCSS
$custom: #2b4d7d; $custom-light: #6d7ea3; $custom-dark: #000000;
JSON
{
"hex": "#2b4d7d",
"rgb": {
"r": 43,
"g": 77,
"b": 125
},
"hsl": {
"h": 215.122,
"s": 48.81,
"l": 32.941
},
"oklch": {
"l": 0.41895,
"c": 0.08989,
"h": 257.2
},
"luminance": 0.07302
}Semantic roles & 50–950 ramp
primary
#2B4D7D
secondary
#AD8957
accent
#A04FD8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F