#2B2E89#2B2E89
#2B2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.148 H 274.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E89 |
|---|---|
| RGB | rgb(43, 46, 137) |
| HSL | hsl(238, 52%, 35%) |
| HSV | hsv(238, 69%, 54%) |
| CMYK | cmyk(68.6%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(24.55, 29.53, -51.13) |
| CIE-LCH | lch(24.55, 59.05, 300.01°) |
| OKLab | oklab(36.17% 0.0121 -0.1475) |
| OKLCH | oklch(36.17% 0.148 274.7) |
| XYZ | xyz(6.4871, 4.2731, 24.1450) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 5.81
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.21
Midnight Blue
#191970
ΔE00 6.32
Indigo Blue
#3A18B1
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E89 #89862B
analogous
#2B5D89 #2B2E89 #572B89
triadic
#2B2E89 #892B2E #2E892B
tetradic
#2B2E89 #892B5D #89862B #2B8957
square
#2B2E89 #892B5D #89862B #2B8957
split-complementary
#2B2E89 #89572B #5D892B
monochromatic
#0E0F2C #1C1E5A #2B2E89 #3A3EB8 #6164CD
Accessibility & contrast
On white
11.32
#2B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2B2E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E89
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E89 | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2e89; /* rgb */ color: rgb(43, 46, 137); /* oklch */ color: oklch(36.2% 0.148 274.7);
Tailwind
colors: {
custom: {
50: '#7167ac',
500: '#2b2e89',
950: '#000000',
},
}SCSS
$custom: #2b2e89; $custom-light: #7167ac; $custom-dark: #000000;
JSON
{
"hex": "#2b2e89",
"rgb": {
"r": 43,
"g": 46,
"b": 137
},
"hsl": {
"h": 238.085,
"s": 52.222,
"l": 35.294
},
"oklch": {
"l": 0.36169,
"c": 0.14804,
"h": 274.7
},
"luminance": 0.04274
}Semantic roles & 50–950 ramp
primary
#2B2E89
secondary
#B3B15C
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F