#2E336E#2E336E
#2E336E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.101 H 276.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E336E |
|---|---|
| RGB | rgb(46, 51, 110) |
| HSL | hsl(235, 41%, 31%) |
| HSV | hsv(235, 58%, 43%) |
| CMYK | cmyk(58.2%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(23.91, 16.84, -35.08) |
| CIE-LCH | lch(23.91, 38.91, 295.64°) |
| OKLab | oklab(35.06% 0.011 -0.1002) |
| OKLCH | oklch(35.06% 0.101 276.2) |
| XYZ | xyz(5.1241, 4.0739, 15.2652) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.50
Navy Blue
#1B2A4A
ΔE00 7.42
Blueberry
#464196
ΔE00 7.74
Marine Blue
#01386A
ΔE00 7.89
Midnight Blue
#191970
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E336E #6E692E
analogous
#2E536E #2E336E #492E6E
triadic
#2E336E #6E2E33 #336E2E
tetradic
#2E336E #6E2E53 #6E692E #2E6E49
square
#2E336E #6E2E53 #6E692E #2E6E49
split-complementary
#2E336E #6E492E #536E2E
monochromatic
#0A0B18 #1C1F43 #2E336E #404799 #5C63BB
Accessibility & contrast
On white
11.57
#2E336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2E336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E336E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E336E | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#0D404B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e336e; /* rgb */ color: rgb(46, 51, 110); /* oklch */ color: oklch(35.1% 0.101 276.2);
Tailwind
colors: {
custom: {
50: '#6d6a98',
500: '#2e336e',
950: '#000000',
},
}SCSS
$custom: #2e336e; $custom-light: #6d6a98; $custom-dark: #000000;
JSON
{
"hex": "#2e336e",
"rgb": {
"r": 46,
"g": 51,
"b": 110
},
"hsl": {
"h": 235.313,
"s": 41.026,
"l": 30.588
},
"oklch": {
"l": 0.35063,
"c": 0.10083,
"h": 276.2
},
"luminance": 0.04074
}Semantic roles & 50–950 ramp
primary
#2E336E
secondary
#9F9A58
accent
#C757D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E