#2B2E99#2B2E99
#2B2E99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.170 H 273.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E99 |
|---|---|
| RGB | rgb(43, 46, 153) |
| HSL | hsl(238, 56%, 38%) |
| HSV | hsv(238, 72%, 60%) |
| CMYK | cmyk(71.9%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(26.06, 35.26, -58.55) |
| CIE-LCH | lch(26.06, 68.35, 301.05°) |
| OKLab | oklab(37.72% 0.0104 -0.1693) |
| OKLCH | oklch(37.72% 0.17 273.5) |
| XYZ | xyz(7.7211, 4.7667, 30.6440) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Royal
#0C1793
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 6.13
Blueberry
#464196
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E99 #99962B
analogous
#2B6599 #2B2E99 #5F2B99
triadic
#2B2E99 #992B2E #2E992B
tetradic
#2B2E99 #992B65 #99962B #2B995F
square
#2B2E99 #992B65 #99962B #2B995F
split-complementary
#2B2E99 #995F2B #65992B
monochromatic
#101139 #1E2069 #2B2E99 #3A3EC8 #696CD5
Accessibility & contrast
On white
10.75
#2B2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2B2E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E99
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E99 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2e99; /* rgb */ color: rgb(43, 46, 153); /* oklch */ color: oklch(37.7% 0.170 273.5);
Tailwind
colors: {
custom: {
50: '#7567b8',
500: '#2b2e99',
950: '#000000',
},
}SCSS
$custom: #2b2e99; $custom-light: #7567b8; $custom-dark: #000000;
JSON
{
"hex": "#2b2e99",
"rgb": {
"r": 43,
"g": 46,
"b": 153
},
"hsl": {
"h": 238.364,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.37722,
"c": 0.16957,
"h": 273.5
},
"luminance": 0.04767
}Semantic roles & 50–950 ramp
primary
#2B2E99
secondary
#BCB964
accent
#DB48DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80