#2B2E9E#2B2E9E
#2B2E9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.176 H 273.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E9E |
|---|---|
| RGB | rgb(43, 46, 158) |
| HSL | hsl(238, 57%, 39%) |
| HSV | hsv(238, 73%, 62%) |
| CMYK | cmyk(72.8%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.55, 37.01, -60.80) |
| CIE-LCH | lch(26.55, 71.18, 301.33°) |
| OKLab | oklab(38.22% 0.0097 -0.1758) |
| OKLCH | oklch(38.22% 0.176 273.2) |
| XYZ | xyz(8.1427, 4.9354, 32.8646) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 5.65
Royal
#0C1793
ΔE00 5.72
Blueberry
#464196
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.78
Cobalt Blue
#030AA7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E9E #9E9B2B
analogous
#2B689E #2B2E9E #622B9E
triadic
#2B2E9E #9E2B2E #2E9E2B
tetradic
#2B2E9E #9E2B68 #9E9B2B #2B9E62
square
#2B2E9E #9E2B68 #9E9B2B #2B9E62
split-complementary
#2B2E9E #9E622B #689E2B
monochromatic
#11123E #1E206E #2B2E9E #3C40CA #6C6FD7
Accessibility & contrast
On white
10.57
#2B2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2B2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E9E
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E9E | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2e9e; /* rgb */ color: rgb(43, 46, 158); /* oklch */ color: oklch(38.2% 0.176 273.2);
Tailwind
colors: {
custom: {
50: '#7667bc',
500: '#2b2e9e',
950: '#000000',
},
}SCSS
$custom: #2b2e9e; $custom-light: #7667bc; $custom-dark: #000000;
JSON
{
"hex": "#2b2e9e",
"rgb": {
"r": 43,
"g": 46,
"b": 158
},
"hsl": {
"h": 238.435,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.38224,
"c": 0.17608,
"h": 273.2
},
"luminance": 0.04936
}Semantic roles & 50–950 ramp
primary
#2B2E9E
secondary
#BEBC67
accent
#DC47E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81