#2B4EAB#2B4EAB
#2B4EAB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.155 H 265.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EAB |
|---|---|
| RGB | rgb(43, 78, 171) |
| HSL | hsl(224, 60%, 42%) |
| HSV | hsv(224, 75%, 67%) |
| CMYK | cmyk(74.9%, 54.4%, 0%, 32.9%) |
| CIE-LAB | lab(35.79, 20.92, -53.53) |
| CIE-LCH | lch(35.79, 57.47, 291.35°) |
| OKLab | oklab(45.4% -0.0131 -0.1542) |
| OKLCH | oklch(45.4% 0.155 265.1) |
| XYZ | xyz(11.0687, 8.9014, 39.6550) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Cobalt
#0047AB
ΔE00 2.89
Cobalt (survey)
#1E488F
ΔE00 4.50
Dusk Blue
#26538D
ΔE00 5.25
Denim Blue
#3B5B92
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EAB #AB882B
analogous
#2B8EAB #2B4EAB #482BAB
triadic
#2B4EAB #AB2B4E #4EAB2B
tetradic
#2B4EAB #AB2B8E #AB882B #2BAB48
square
#2B4EAB #AB2B8E #AB882B #2BAB48
split-complementary
#2B4EAB #AB482B #8EAB2B
monochromatic
#122149 #1F387A #2B4EAB #436AD0 #7491DC
Accessibility & contrast
On white
7.55
#2B4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2B4EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EAB
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EAB | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4eab; /* rgb */ color: rgb(43, 78, 171); /* oklch */ color: oklch(45.4% 0.155 265.1);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2b4eab',
950: '#000000',
},
}SCSS
$custom: #2b4eab; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4eab",
"rgb": {
"r": 43,
"g": 78,
"b": 171
},
"hsl": {
"h": 223.594,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45404,
"c": 0.15473,
"h": 265.1
},
"luminance": 0.08903
}Semantic roles & 50–950 ramp
primary
#2B4EAB
secondary
#C4AC6E
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82