#2B4EA6#2B4EA6
#2B4EA6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.148 H 264.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EA6 |
|---|---|
| RGB | rgb(43, 78, 166) |
| HSL | hsl(223, 59%, 41%) |
| HSV | hsv(223, 74%, 65%) |
| CMYK | cmyk(74.1%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(35.43, 19.01, -51.14) |
| CIE-LCH | lch(35.43, 54.55, 290.39°) |
| OKLab | oklab(45.01% -0.0135 -0.1471) |
| OKLCH | oklch(45.01% 0.148 264.7) |
| XYZ | xyz(10.6012, 8.7144, 37.1923) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Sapphire
#0F52BA
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 3.86
Dusk Blue
#26538D
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EA6 #A6832B
analogous
#2B8BA6 #2B4EA6 #452BA6
triadic
#2B4EA6 #A62B4E #4EA62B
tetradic
#2B4EA6 #A62B8B #A6832B #2BA645
square
#2B4EA6 #A62B8B #A6832B #2BA645
split-complementary
#2B4EA6 #A6452B #8BA62B
monochromatic
#122045 #1E3775 #2B4EA6 #4169CE #718FDA
Accessibility & contrast
On white
7.66
#2B4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2B4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EA6
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EA6 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4ea6; /* rgb */ color: rgb(43, 78, 166); /* oklch */ color: oklch(45.0% 0.148 264.7);
Tailwind
colors: {
custom: {
50: '#757fc1',
500: '#2b4ea6',
950: '#000000',
},
}SCSS
$custom: #2b4ea6; $custom-light: #757fc1; $custom-dark: #000000;
JSON
{
"hex": "#2b4ea6",
"rgb": {
"r": 43,
"g": 78,
"b": 166
},
"hsl": {
"h": 222.927,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.45011,
"c": 0.14777,
"h": 264.7
},
"luminance": 0.08716
}Semantic roles & 50–950 ramp
primary
#2B4EA6
secondary
#C1A96B
accent
#B646E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81