#2E3066#2E3066
#2E3066 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.093 H 278.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3066 |
|---|---|
| RGB | rgb(46, 48, 102) |
| HSL | hsl(238, 38%, 29%) |
| HSV | hsv(238, 55%, 40%) |
| CMYK | cmyk(54.9%, 52.9%, 0%, 60%) |
| CIE-LAB | lab(22.49, 16.05, -32.20) |
| CIE-LCH | lch(22.49, 35.97, 296.49°) |
| OKLab | oklab(33.81% 0.0139 -0.0918) |
| OKLCH | oklch(33.81% 0.093 278.6) |
| XYZ | xyz(4.5812, 3.6538, 13.0316) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.66
Marine
#042E60
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.62
Midnight Blue
#191970
ΔE00 8.19
Marine Blue
#01386A
ΔE00 8.77
Blueberry
#464196
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3066 #66642E
analogous
#2E4C66 #2E3066 #482E66
triadic
#2E3066 #662E30 #30662E
tetradic
#2E3066 #662E4C #66642E #2E6648
square
#2E3066 #662E4C #66642E #2E6648
split-complementary
#2E3066 #66482E #4C662E
monochromatic
#0A0A15 #1B1C3C #2E3066 #414490 #5A5DB5
Accessibility & contrast
On white
12.13
#2E3066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2E3066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3066
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3066 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163868
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#163C46
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e3066; /* rgb */ color: rgb(46, 48, 102); /* oklch */ color: oklch(33.8% 0.093 278.6);
Tailwind
colors: {
custom: {
50: '#6b6892',
500: '#2e3066',
950: '#000000',
},
}SCSS
$custom: #2e3066; $custom-light: #6b6892; $custom-dark: #000000;
JSON
{
"hex": "#2e3066",
"rgb": {
"r": 46,
"g": 48,
"b": 102
},
"hsl": {
"h": 237.857,
"s": 37.838,
"l": 29.02
},
"oklch": {
"l": 0.33811,
"c": 0.09282,
"h": 278.6
},
"luminance": 0.03654
}Semantic roles & 50–950 ramp
primary
#2E3066
secondary
#989558
accent
#CA5ACE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E