#2B2E9B#2B2E9B
#2B2E9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.172 H 273.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E9B |
|---|---|
| RGB | rgb(43, 46, 155) |
| HSL | hsl(238, 57%, 39%) |
| HSV | hsv(238, 72%, 61%) |
| CMYK | cmyk(72.3%, 70.3%, 0%, 39.2%) |
| CIE-LAB | lab(26.25, 35.96, -59.45) |
| CIE-LCH | lch(26.25, 69.48, 301.17°) |
| OKLab | oklab(37.92% 0.0102 -0.1719) |
| OKLCH | oklch(37.92% 0.172 273.4) |
| XYZ | xyz(7.8877, 4.8334, 31.5212) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Royal
#0C1793
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 5.93
Blueberry
#464196
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.59
Cobalt Blue
#030AA7
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E9B #9B982B
analogous
#2B669B #2B2E9B #602B9B
triadic
#2B2E9B #9B2B2E #2E9B2B
tetradic
#2B2E9B #9B2B66 #9B982B #2B9B60
square
#2B2E9B #9B2B66 #9B982B #2B9B60
split-complementary
#2B2E9B #9B602B #669B2B
monochromatic
#10123B #1E206B #2B2E9B #3B3EC9 #6B6DD6
Accessibility & contrast
On white
10.68
#2B2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B2E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E9B
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E9B | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2e9b; /* rgb */ color: rgb(43, 46, 155); /* oklch */ color: oklch(37.9% 0.172 273.4);
Tailwind
colors: {
custom: {
50: '#7567ba',
500: '#2b2e9b',
950: '#000000',
},
}SCSS
$custom: #2b2e9b; $custom-light: #7567ba; $custom-dark: #000000;
JSON
{
"hex": "#2b2e9b",
"rgb": {
"r": 43,
"g": 46,
"b": 155
},
"hsl": {
"h": 238.393,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.37922,
"c": 0.17219,
"h": 273.4
},
"luminance": 0.04834
}Semantic roles & 50–950 ramp
primary
#2B2E9B
secondary
#BCBA65
accent
#DC48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81