#2B2E8A#2B2E8A
#2B2E8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.149 H 274.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E8A |
|---|---|
| RGB | rgb(43, 46, 138) |
| HSL | hsl(238, 52%, 35%) |
| HSV | hsv(238, 69%, 54%) |
| CMYK | cmyk(68.8%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(24.65, 29.89, -51.61) |
| CIE-LCH | lch(24.65, 59.64, 300.08°) |
| OKLab | oklab(36.26% 0.0121 -0.1489) |
| OKLCH | oklch(36.26% 0.149 274.6) |
| XYZ | xyz(6.5592, 4.3020, 24.5245) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.83
Royal
#0C1793
ΔE00 6.12
Blueberry
#464196
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.39
Indigo Blue
#3A18B1
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E8A #8A872B
analogous
#2B5D8A #2B2E8A #572B8A
triadic
#2B2E8A #8A2B2E #2E8A2B
tetradic
#2B2E8A #8A2B5D #8A872B #2B8A57
square
#2B2E8A #8A2B5D #8A872B #2B8A57
split-complementary
#2B2E8A #8A572B #5D8A2B
monochromatic
#0E0F2D #1C1E5B #2B2E8A #3A3EB9 #6165CE
Accessibility & contrast
On white
11.29
#2B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B2E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E8A
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E8A | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b2e8a; /* rgb */ color: rgb(43, 46, 138); /* oklch */ color: oklch(36.3% 0.149 274.6);
Tailwind
colors: {
custom: {
50: '#7167ad',
500: '#2b2e8a',
950: '#000000',
},
}SCSS
$custom: #2b2e8a; $custom-light: #7167ad; $custom-dark: #000000;
JSON
{
"hex": "#2b2e8a",
"rgb": {
"r": 43,
"g": 46,
"b": 138
},
"hsl": {
"h": 238.105,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.36263,
"c": 0.14942,
"h": 274.6
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#2B2E8A
secondary
#B4B15D
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F