#2E336A#2E336A
#2E336A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.095 H 276.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E336A |
|---|---|
| RGB | rgb(46, 51, 106) |
| HSL | hsl(235, 39%, 30%) |
| HSV | hsv(235, 57%, 42%) |
| CMYK | cmyk(56.6%, 51.9%, 0%, 58.4%) |
| CIE-LAB | lab(23.63, 15.39, -32.96) |
| CIE-LCH | lch(23.63, 36.37, 295.04°) |
| OKLab | oklab(34.76% 0.0105 -0.094) |
| OKLCH | oklch(34.76% 0.095 276.4) |
| XYZ | xyz(4.9112, 3.9888, 14.1440) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.30
Navy Blue
#1B2A4A
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 7.07
Marine Blue
#01386A
ΔE00 7.92
Blueberry
#464196
ΔE00 8.36
Midnight Blue
#191970
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E336A #6A652E
analogous
#2E516A #2E336A #472E6A
triadic
#2E336A #6A2E33 #336A2E
tetradic
#2E336A #6A2E51 #6A652E #2E6A47
square
#2E336A #6A2E51 #6A652E #2E6A47
split-complementary
#2E336A #6A472E #516A2E
monochromatic
#090A15 #1B1E3F #2E336A #414895 #5B62B8
Accessibility & contrast
On white
11.68
#2E336A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E336A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E336A
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E336A | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#113669
Tritanopia (blue-blind)
#123F49
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e336a; /* rgb */ color: rgb(46, 51, 106); /* oklch */ color: oklch(34.8% 0.095 276.4);
Tailwind
colors: {
custom: {
50: '#6c6a95',
500: '#2e336a',
950: '#000000',
},
}SCSS
$custom: #2e336a; $custom-light: #6c6a95; $custom-dark: #000000;
JSON
{
"hex": "#2e336a",
"rgb": {
"r": 46,
"g": 51,
"b": 106
},
"hsl": {
"h": 235,
"s": 39.474,
"l": 29.804
},
"oklch": {
"l": 0.34762,
"c": 0.09457,
"h": 276.4
},
"luminance": 0.03989
}Semantic roles & 50–950 ramp
primary
#2E336A
secondary
#9C9658
accent
#C558CF
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E