#2E307D#2E307D
#2E307D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.128 H 276.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E307D |
|---|---|
| RGB | rgb(46, 48, 125) |
| HSL | hsl(238, 46%, 34%) |
| HSV | hsv(238, 63%, 49%) |
| CMYK | cmyk(63.2%, 61.6%, 0%, 51%) |
| CIE-LAB | lab(24.24, 24.34, -44.11) |
| CIE-LCH | lch(24.24, 50.38, 298.89°) |
| OKLab | oklab(35.67% 0.0148 -0.1268) |
| OKLCH | oklch(35.67% 0.128 276.6) |
| XYZ | xyz(5.8841, 4.1750, 19.8938) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.33
Blueberry
#464196
ΔE00 6.29
Midnight Blue
#191970
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 7.22
Marine
#042E60
ΔE00 7.86
Royal
#0C1793
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E307D #7D7B2E
analogous
#2E577D #2E307D #532E7D
triadic
#2E307D #7D2E30 #307D2E
tetradic
#2E307D #7D2E57 #7D7B2E #2E7D53
square
#2E307D #7D2E57 #7D7B2E #2E7D53
split-complementary
#2E307D #7D532E #577D2E
monochromatic
#0D0E24 #1E1F50 #2E307D #3E41AA #6163C5
Accessibility & contrast
On white
11.44
#2E307D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2E307D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E307D
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E307D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E307D | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e307d; /* rgb */ color: rgb(46, 48, 125); /* oklch */ color: oklch(35.7% 0.128 276.6);
Tailwind
colors: {
custom: {
50: '#7068a3',
500: '#2e307d',
950: '#000000',
},
}SCSS
$custom: #2e307d; $custom-light: #7068a3; $custom-dark: #000000;
JSON
{
"hex": "#2e307d",
"rgb": {
"r": 46,
"g": 48,
"b": 125
},
"hsl": {
"h": 238.481,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.35672,
"c": 0.12767,
"h": 276.6
},
"luminance": 0.04175
}Semantic roles & 50–950 ramp
primary
#2E307D
secondary
#ABA95B
accent
#D352D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F