#2B4EAA#2B4EAA
#2B4EAA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.153 H 265.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EAA |
|---|---|
| RGB | rgb(43, 78, 170) |
| HSL | hsl(223, 60%, 42%) |
| HSV | hsv(223, 75%, 67%) |
| CMYK | cmyk(74.7%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(35.72, 20.54, -53.05) |
| CIE-LCH | lch(35.72, 56.89, 291.16°) |
| OKLab | oklab(45.32% -0.0132 -0.1528) |
| OKLCH | oklch(45.32% 0.153 265.1) |
| XYZ | xyz(10.9738, 8.8635, 39.1549) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.87
Sapphire
#0F52BA
ΔE00 2.92
Cobalt (survey)
#1E488F
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EAA #AA872B
analogous
#2B8DAA #2B4EAA #482BAA
triadic
#2B4EAA #AA2B4E #4EAA2B
tetradic
#2B4EAA #AA2B8D #AA872B #2BAA48
square
#2B4EAA #AA2B8D #AA872B #2BAA48
split-complementary
#2B4EAA #AA482B #8DAA2B
monochromatic
#122148 #1F3879 #2B4EAA #436ACF #7490DC
Accessibility & contrast
On white
7.57
#2B4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2B4EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EAA
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EAA | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4eaa; /* rgb */ color: rgb(43, 78, 170); /* oklch */ color: oklch(45.3% 0.153 265.1);
Tailwind
colors: {
custom: {
50: '#767fc4',
500: '#2b4eaa',
950: '#000000',
},
}SCSS
$custom: #2b4eaa; $custom-light: #767fc4; $custom-dark: #000000;
JSON
{
"hex": "#2b4eaa",
"rgb": {
"r": 43,
"g": 78,
"b": 170
},
"hsl": {
"h": 223.465,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.45324,
"c": 0.15335,
"h": 265.1
},
"luminance": 0.08865
}Semantic roles & 50–950 ramp
primary
#2B4EAA
secondary
#C3AC6E
accent
#B745E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82