#2E2F8D#2E2F8D
#2E2F8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.152 H 275.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F8D |
|---|---|
| RGB | rgb(46, 47, 141) |
| HSL | hsl(239, 51%, 37%) |
| HSV | hsv(239, 67%, 55%) |
| CMYK | cmyk(67.4%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(25.37, 30.75, -52.28) |
| CIE-LCH | lch(25.37, 60.65, 300.47°) |
| OKLab | oklab(36.93% 0.0147 -0.1508) |
| OKLCH | oklch(36.93% 0.152 275.6) |
| XYZ | xyz(6.9494, 4.5364, 25.7035) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 5.48
Blueberry
#464196
ΔE00 5.74
Royal
#0C1793
ΔE00 6.25
Midnight Blue
#191970
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F8D #8D8C2E
analogous
#2E5F8D #2E2F8D #5D2E8D
triadic
#2E2F8D #8D2E2F #2F8D2E
tetradic
#2E2F8D #8D2E5F #8D8C2E #2E8D5D
square
#2E2F8D #8D2E5F #8D8C2E #2E8D5D
split-complementary
#2E2F8D #8D5D2E #5F8D2E
monochromatic
#101031 #1F205F #2E2F8D #3D3EBB #6869CE
Accessibility & contrast
On white
11.01
#2E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F8D
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F8D | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2f8d; /* rgb */ color: rgb(46, 47, 141); /* oklch */ color: oklch(36.9% 0.152 275.6);
Tailwind
colors: {
custom: {
50: '#7368af',
500: '#2e2f8d',
950: '#000000',
},
}SCSS
$custom: #2e2f8d; $custom-light: #7368af; $custom-dark: #000000;
JSON
{
"hex": "#2e2f8d",
"rgb": {
"r": 46,
"g": 47,
"b": 141
},
"hsl": {
"h": 239.368,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.3693,
"c": 0.15153,
"h": 275.6
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#2E2F8D
secondary
#B5B462
accent
#D94EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F