#2B2E9A#2B2E9A
#2B2E9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.171 H 273.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E9A |
|---|---|
| RGB | rgb(43, 46, 154) |
| HSL | hsl(238, 56%, 39%) |
| HSV | hsv(238, 72%, 60%) |
| CMYK | cmyk(72.1%, 70.1%, 0%, 39.6%) |
| CIE-LAB | lab(26.16, 35.61, -59.00) |
| CIE-LCH | lch(26.16, 68.91, 301.11°) |
| OKLab | oklab(37.82% 0.0103 -0.1706) |
| OKLCH | oklch(37.82% 0.171 273.4) |
| XYZ | xyz(7.8040, 4.7999, 31.0808) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Royal
#0C1793
ΔE00 5.65
Indigo Blue
#3A18B1
ΔE00 6.03
Blueberry
#464196
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E9A #9A972B
analogous
#2B659A #2B2E9A #5F2B9A
triadic
#2B2E9A #9A2B2E #2E9A2B
tetradic
#2B2E9A #9A2B65 #9A972B #2B9A5F
square
#2B2E9A #9A2B65 #9A972B #2B9A5F
split-complementary
#2B2E9A #9A5F2B #659A2B
monochromatic
#10113A #1E206A #2B2E9A #3A3EC8 #6A6DD5
Accessibility & contrast
On white
10.71
#2B2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B2E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E9A
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E9A | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2e9a; /* rgb */ color: rgb(43, 46, 154); /* oklch */ color: oklch(37.8% 0.171 273.4);
Tailwind
colors: {
custom: {
50: '#7567b9',
500: '#2b2e9a',
950: '#000000',
},
}SCSS
$custom: #2b2e9a; $custom-light: #7567b9; $custom-dark: #000000;
JSON
{
"hex": "#2b2e9a",
"rgb": {
"r": 43,
"g": 46,
"b": 154
},
"hsl": {
"h": 238.378,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.37822,
"c": 0.17088,
"h": 273.4
},
"luminance": 0.04801
}Semantic roles & 50–950 ramp
primary
#2B2E9A
secondary
#BCBA65
accent
#DC48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81