#2B4399#2B4399
#2B4399 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.144 H 267.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4399 |
|---|---|
| RGB | rgb(43, 67, 153) |
| HSL | hsl(227, 56%, 38%) |
| HSV | hsv(227, 72%, 60%) |
| CMYK | cmyk(71.9%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(31.41, 21.43, -49.81) |
| CIE-LCH | lch(31.41, 54.23, 293.27°) |
| OKLab | oklab(41.67% -0.0054 -0.1434) |
| OKLCH | oklch(41.67% 0.144 267.9) |
| XYZ | xyz(8.7512, 6.8269, 30.9873) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.77
Cobalt (survey)
#1E488F
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 4.64
Blueberry
#464196
ΔE00 4.90
Darkish Blue
#014182
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4399 #99812B
analogous
#2B7A99 #2B4399 #4A2B99
triadic
#2B4399 #992B43 #43992B
tetradic
#2B4399 #992B7A #99812B #2B994A
square
#2B4399 #992B7A #99812B #2B994A
split-complementary
#2B4399 #994A2B #7A992B
monochromatic
#101939 #1E2E69 #2B4399 #3A59C8 #6981D5
Accessibility & contrast
On white
8.88
#2B4399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2B4399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4399
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4399 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b4399; /* rgb */ color: rgb(43, 67, 153); /* oklch */ color: oklch(41.7% 0.144 267.9);
Tailwind
colors: {
custom: {
50: '#7376b8',
500: '#2b4399',
950: '#000000',
},
}SCSS
$custom: #2b4399; $custom-light: #7376b8; $custom-dark: #000000;
JSON
{
"hex": "#2b4399",
"rgb": {
"r": 43,
"g": 67,
"b": 153
},
"hsl": {
"h": 226.909,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.41669,
"c": 0.14354,
"h": 267.9
},
"luminance": 0.06828
}Semantic roles & 50–950 ramp
primary
#2B4399
secondary
#BCA864
accent
#BE48DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80