#2B4EB9#2B4EB9
#2B4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.174 H 266.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EB9 |
|---|---|
| RGB | rgb(43, 78, 185) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 77%, 73%) |
| CMYK | cmyk(76.8%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.86, 26.24, -60.07) |
| CIE-LCH | lch(36.86, 65.55, 293.60°) |
| OKLab | oklab(46.54% -0.0122 -0.1734) |
| OKLCH | oklch(46.54% 0.174 266) |
| XYZ | xyz(12.4745, 9.4638, 47.0588) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Cobalt
#0047AB
ΔE00 3.76
Blue Blue
#2242C7
ΔE00 4.28
Blue (survey)
#0343DF
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 6.34
Warm Blue
#4B57DB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EB9 #B9962B
analogous
#2B95B9 #2B4EB9 #4F2BB9
triadic
#2B4EB9 #B92B4E #4EB92B
tetradic
#2B4EB9 #B92B95 #B9962B #2BB94F
square
#2B4EB9 #B92B95 #B9962B #2BB94F
split-complementary
#2B4EB9 #B94F2B #95B92B
monochromatic
#142456 #1F3987 #2B4EB9 #4C6ED5 #7E96E1
Accessibility & contrast
On white
7.26
#2B4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2B4EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EB9
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EB9 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4eb9; /* rgb */ color: rgb(43, 78, 185); /* oklch */ color: oklch(46.5% 0.174 266.0);
Tailwind
colors: {
custom: {
50: '#7a7fcf',
500: '#2b4eb9',
950: '#000000',
},
}SCSS
$custom: #2b4eb9; $custom-light: #7a7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2b4eb9",
"rgb": {
"r": 43,
"g": 78,
"b": 185
},
"hsl": {
"h": 225.211,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.46544,
"c": 0.17385,
"h": 266
},
"luminance": 0.09465
}Semantic roles & 50–950 ramp
primary
#2B4EB9
secondary
#C9B576
accent
#BD42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82