#2E2F8F#2E2F8F
#2E2F8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.154 H 275.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F8F |
|---|---|
| RGB | rgb(46, 47, 143) |
| HSL | hsl(239, 51%, 37%) |
| HSV | hsv(239, 68%, 56%) |
| CMYK | cmyk(67.8%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(25.55, 31.47, -53.22) |
| CIE-LCH | lch(25.55, 61.83, 300.59°) |
| OKLab | oklab(37.12% 0.0145 -0.1536) |
| OKLCH | oklch(37.12% 0.154 275.4) |
| XYZ | xyz(7.0995, 4.5964, 26.4943) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 5.56
Blueberry
#464196
ΔE00 5.72
Royal
#0C1793
ΔE00 6.16
Midnight Blue
#191970
ΔE00 7.02
Indigo Blue
#3A18B1
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F8F #8F8E2E
analogous
#2E608F #2E2F8F #5D2E8F
triadic
#2E2F8F #8F2E2F #2F8F2E
tetradic
#2E2F8F #8F2E60 #8F8E2E #2E8F5D
square
#2E2F8F #8F2E60 #8F8E2E #2E8F5D
split-complementary
#2E2F8F #8F5D2E #608F2E
monochromatic
#101132 #1F2061 #2E2F8F #3D3EBD #696ACF
Accessibility & contrast
On white
10.94
#2E2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2E2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F8F
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F8F | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2f8f; /* rgb */ color: rgb(46, 47, 143); /* oklch */ color: oklch(37.1% 0.154 275.4);
Tailwind
colors: {
custom: {
50: '#7468b1',
500: '#2e2f8f',
950: '#000000',
},
}SCSS
$custom: #2e2f8f; $custom-light: #7468b1; $custom-dark: #000000;
JSON
{
"hex": "#2e2f8f",
"rgb": {
"r": 46,
"g": 47,
"b": 143
},
"hsl": {
"h": 239.381,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.37119,
"c": 0.15426,
"h": 275.4
},
"luminance": 0.04597
}Semantic roles & 50–950 ramp
primary
#2E2F8F
secondary
#B6B563
accent
#D94DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80