#2E2F9B#2E2F9B
#2E2F9B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.170 H 274.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F9B |
|---|---|
| RGB | rgb(46, 47, 155) |
| HSL | hsl(239, 54%, 39%) |
| HSV | hsv(239, 70%, 61%) |
| CMYK | cmyk(70.3%, 69.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.68, 35.70, -58.75) |
| CIE-LCH | lch(26.68, 68.75, 301.28°) |
| OKLab | oklab(38.28% 0.0131 -0.1698) |
| OKLCH | oklch(38.28% 0.17 274.4) |
| XYZ | xyz(8.0577, 4.9797, 31.5405) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 5.89
Royal
#0C1793
ΔE00 5.97
Indigo Blue
#3A18B1
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F9B #9B9A2E
analogous
#2E659B #2E2F9B #642E9B
triadic
#2E2F9B #9B2E2F #2F9B2E
tetradic
#2E2F9B #9B2E65 #9B9A2E #2E9B64
square
#2E2F9B #9B2E65 #9B9A2E #2E9B64
split-complementary
#2E2F9B #9B642E #659B2E
monochromatic
#12123D #20216C #2E2F9B #4041C6 #6F70D4
Accessibility & contrast
On white
10.52
#2E2F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E2F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F9B
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F9B | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2f9b; /* rgb */ color: rgb(46, 47, 155); /* oklch */ color: oklch(38.3% 0.170 274.4);
Tailwind
colors: {
custom: {
50: '#7768ba',
500: '#2e2f9b',
950: '#000000',
},
}SCSS
$custom: #2e2f9b; $custom-light: #7768ba; $custom-dark: #000000;
JSON
{
"hex": "#2e2f9b",
"rgb": {
"r": 46,
"g": 47,
"b": 155
},
"hsl": {
"h": 239.45,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.38277,
"c": 0.17027,
"h": 274.4
},
"luminance": 0.0498
}Semantic roles & 50–950 ramp
primary
#2E2F9B
secondary
#BCBB69
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81