#2B4E7F#2B4E7F
#2B4E7F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.092 H 257.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4E7F |
|---|---|
| RGB | rgb(43, 78, 127) |
| HSL | hsl(215, 49%, 33%) |
| HSV | hsv(215, 66%, 50%) |
| CMYK | cmyk(66.1%, 38.6%, 0%, 50.2%) |
| CIE-LAB | lab(32.91, 4.13, -31.46) |
| CIE-LCH | lch(32.91, 31.73, 277.48°) |
| OKLab | oklab(42.26% -0.0204 -0.0893) |
| OKLCH | oklch(42.26% 0.092 257.1) |
| XYZ | xyz(7.5500, 7.4940, 21.1232) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.51
Cobalt (survey)
#1E488F
ΔE00 3.15
Light Navy
#155084
ΔE00 3.24
Twilight Blue
#0A437A
ΔE00 4.11
Light Navy Blue
#2E5A88
ΔE00 4.40
Prussian Blue
#004577
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4E7F #7F5C2B
analogous
#2B787F #2B4E7F #322B7F
triadic
#2B4E7F #7F2B4E #4E7F2B
tetradic
#2B4E7F #7F2B78 #7F5C2B #2B7F32
square
#2B4E7F #7F2B78 #7F5C2B #2B7F32
split-complementary
#2B4E7F #7F322B #787F2B
monochromatic
#0C1624 #1C3251 #2B4E7F #3A6AAD #5C89C8
Accessibility & contrast
On white
8.40
#2B4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2B4E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4E7F
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4E7F | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b4e7f; /* rgb */ color: rgb(43, 78, 127); /* oklch */ color: oklch(42.3% 0.092 257.1);
Tailwind
colors: {
custom: {
50: '#6d7fa4',
500: '#2b4e7f',
950: '#000000',
},
}SCSS
$custom: #2b4e7f; $custom-light: #6d7fa4; $custom-dark: #000000;
JSON
{
"hex": "#2b4e7f",
"rgb": {
"r": 43,
"g": 78,
"b": 127
},
"hsl": {
"h": 215,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.42261,
"c": 0.09164,
"h": 257.1
},
"luminance": 0.07495
}Semantic roles & 50–950 ramp
primary
#2B4E7F
secondary
#AE8A58
accent
#9F4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F