#2E307A#2E307A
#2E307A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.123 H 276.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E307A |
|---|---|
| RGB | rgb(46, 48, 122) |
| HSL | hsl(238, 45%, 33%) |
| HSV | hsv(238, 62%, 48%) |
| CMYK | cmyk(62.3%, 60.7%, 0%, 52.2%) |
| CIE-LAB | lab(24.00, 23.25, -42.60) |
| CIE-LCH | lch(24.00, 48.54, 298.63°) |
| OKLab | oklab(35.41% 0.0148 -0.1224) |
| OKLCH | oklch(35.41% 0.123 276.9) |
| XYZ | xyz(5.6954, 4.0995, 18.8997) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.47
Midnight Blue
#191970
ΔE00 6.50
Blueberry
#464196
ΔE00 6.54
Marine
#042E60
ΔE00 7.60
Sapphire (survey)
#2138AB
ΔE00 7.71
Royal
#0C1793
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E307A #7A782E
analogous
#2E567A #2E307A #522E7A
triadic
#2E307A #7A2E30 #307A2E
tetradic
#2E307A #7A2E56 #7A782E #2E7A52
square
#2E307A #7A2E56 #7A782E #2E7A52
split-complementary
#2E307A #7A522E #567A2E
monochromatic
#0C0D21 #1D1F4E #2E307A #3F41A6 #6062C3
Accessibility & contrast
On white
11.54
#2E307A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E307A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E307A
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E307A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E307A | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e307a; /* rgb */ color: rgb(46, 48, 122); /* oklch */ color: oklch(35.4% 0.123 276.9);
Tailwind
colors: {
custom: {
50: '#6f68a1',
500: '#2e307a',
950: '#000000',
},
}SCSS
$custom: #2e307a; $custom-light: #6f68a1; $custom-dark: #000000;
JSON
{
"hex": "#2e307a",
"rgb": {
"r": 46,
"g": 48,
"b": 122
},
"hsl": {
"h": 238.421,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.35414,
"c": 0.12328,
"h": 276.9
},
"luminance": 0.041
}Semantic roles & 50–950 ramp
primary
#2E307A
secondary
#AAA75A
accent
#D253D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F