#2B2EA9#2B2EA9
#2B2EA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.190 H 272.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA9 |
|---|---|
| RGB | rgb(43, 46, 169) |
| HSL | hsl(239, 59%, 42%) |
| HSV | hsv(239, 75%, 66%) |
| CMYK | cmyk(74.6%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.66, 40.83, -65.63) |
| CIE-LCH | lch(27.66, 77.29, 301.88°) |
| OKLab | oklab(39.35% 0.0081 -0.1899) |
| OKLCH | oklch(39.35% 0.19 272.4) |
| XYZ | xyz(9.1323, 5.3312, 38.0762) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 6.25
True Blue
#010FCC
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.66
Blue Blue
#2242C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA9 #A9A62B
analogous
#2B6DA9 #2B2EA9 #672BA9
triadic
#2B2EA9 #A92B2E #2EA92B
tetradic
#2B2EA9 #A92B6D #A9A62B #2BA967
square
#2B2EA9 #A92B6D #A9A62B #2BA967
split-complementary
#2B2EA9 #A9672B #6DA92B
monochromatic
#121347 #1F2178 #2B2EA9 #4246CF #7376DB
Accessibility & contrast
On white
10.16
#2B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2B2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA9
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA9 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2ea9; /* rgb */ color: rgb(43, 46, 169); /* oklch */ color: oklch(39.4% 0.190 272.4);
Tailwind
colors: {
custom: {
50: '#7968c4',
500: '#2b2ea9',
950: '#000000',
},
}SCSS
$custom: #2b2ea9; $custom-light: #7968c4; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea9",
"rgb": {
"r": 43,
"g": 46,
"b": 169
},
"hsl": {
"h": 238.571,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39352,
"c": 0.19009,
"h": 272.4
},
"luminance": 0.05332
}Semantic roles & 50–950 ramp
primary
#2B2EA9
secondary
#C3C16D
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82