#2E2F5C#2E2F5C
#2E2F5C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.078 H 280.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F5C |
|---|---|
| RGB | rgb(46, 47, 92) |
| HSL | hsl(239, 33%, 27%) |
| HSV | hsv(239, 50%, 36%) |
| CMYK | cmyk(50%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(21.53, 13.23, -27.19) |
| CIE-LCH | lch(21.53, 30.24, 295.94°) |
| OKLab | oklab(32.87% 0.0139 -0.0771) |
| OKLCH | oklch(32.87% 0.078 280.2) |
| XYZ | xyz(4.0744, 3.3864, 10.5621) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.72
Marine
#042E60
ΔE00 7.35
Navy (survey)
#01153E
ΔE00 9.13
Darkslateblue
#483D8B
ΔE00 9.37
Midnight Blue
#191970
ΔE00 9.59
Marine Blue
#01386A
ΔE00 9.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F5C #5C5B2E
analogous
#2E465C #2E2F5C #442E5C
triadic
#2E2F5C #5C2E2F #2F5C2E
tetradic
#2E2F5C #5C2E46 #5C5B2E #2E5C44
square
#2E2F5C #5C2E46 #5C5B2E #2E5C44
split-complementary
#2E2F5C #5C442E #465C2E
monochromatic
#0A0A14 #1A1A33 #2E2F5C #424485 #595AAC
Accessibility & contrast
On white
12.52
#2E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F5C
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F5C | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D355E
Deuteranopia (green-blind)
#1A325B
Tritanopia (blue-blind)
#1E3841
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2f5c; /* rgb */ color: rgb(46, 47, 92); /* oklch */ color: oklch(32.9% 0.078 280.2);
Tailwind
colors: {
custom: {
50: '#6a678a',
500: '#2e2f5c',
950: '#000000',
},
}SCSS
$custom: #2e2f5c; $custom-light: #6a678a; $custom-dark: #000000;
JSON
{
"hex": "#2e2f5c",
"rgb": {
"r": 46,
"g": 47,
"b": 92
},
"hsl": {
"h": 238.696,
"s": 33.333,
"l": 27.059
},
"oklch": {
"l": 0.32866,
"c": 0.07833,
"h": 280.2
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#2E2F5C
secondary
#8E8D58
accent
#C75EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D