#2E326E#2E326E
#2E326E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.102 H 276.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E326E |
|---|---|
| RGB | rgb(46, 50, 110) |
| HSL | hsl(236, 41%, 31%) |
| HSV | hsv(236, 58%, 43%) |
| CMYK | cmyk(58.2%, 54.5%, 0%, 56.9%) |
| CIE-LAB | lab(23.63, 17.53, -35.54) |
| CIE-LCH | lch(23.63, 39.63, 296.26°) |
| OKLab | oklab(34.85% 0.0122 -0.1016) |
| OKLCH | oklch(34.85% 0.102 276.8) |
| XYZ | xyz(5.0809, 3.9875, 15.2508) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.49
Marine
#042E60
ΔE00 6.52
Navy Blue
#1B2A4A
ΔE00 7.50
Blueberry
#464196
ΔE00 7.79
Midnight Blue
#191970
ΔE00 7.88
Marine Blue
#01386A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E326E #6E6A2E
analogous
#2E526E #2E326E #4A2E6E
triadic
#2E326E #6E2E32 #326E2E
tetradic
#2E326E #6E2E52 #6E6A2E #2E6E4A
square
#2E326E #6E2E52 #6E6A2E #2E6E4A
split-complementary
#2E326E #6E4A2E #526E2E
monochromatic
#0A0B18 #1C1E43 #2E326E #404699 #5C62BB
Accessibility & contrast
On white
11.68
#2E326E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E326E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E326E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E326E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E326E | 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)
#113B70
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#0D404B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e326e; /* rgb */ color: rgb(46, 50, 110); /* oklch */ color: oklch(34.8% 0.102 276.8);
Tailwind
colors: {
custom: {
50: '#6d6998',
500: '#2e326e',
950: '#000000',
},
}SCSS
$custom: #2e326e; $custom-light: #6d6998; $custom-dark: #000000;
JSON
{
"hex": "#2e326e",
"rgb": {
"r": 46,
"g": 50,
"b": 110
},
"hsl": {
"h": 236.25,
"s": 41.026,
"l": 30.588
},
"oklch": {
"l": 0.34849,
"c": 0.10231,
"h": 276.8
},
"luminance": 0.03988
}Semantic roles & 50–950 ramp
primary
#2E326E
secondary
#9F9B58
accent
#C957D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E