#2E368D#2E368D
#2E368D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.143 H 273.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E368D |
|---|---|
| RGB | rgb(46, 54, 141) |
| HSL | hsl(235, 51%, 37%) |
| HSV | hsv(235, 67%, 55%) |
| CMYK | cmyk(67.4%, 61.7%, 0%, 44.7%) |
| CIE-LAB | lab(27.13, 26.14, -49.40) |
| CIE-LCH | lch(27.13, 55.89, 297.89°) |
| OKLab | oklab(38.22% 0.0088 -0.1423) |
| OKLCH | oklch(38.22% 0.143 273.5) |
| XYZ | xyz(7.2520, 5.1416, 25.8044) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.49
Blueberry
#464196
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 7.58
Cobalt
#0047AB
ΔE00 7.79
Ocean Blue
#4F42B5
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E368D #8D852E
analogous
#2E668D #2E368D #562E8D
triadic
#2E368D #8D2E36 #368D2E
tetradic
#2E368D #8D2E66 #8D852E #2E8D56
square
#2E368D #8D2E66 #8D852E #2E8D56
split-complementary
#2E368D #8D562E #668D2E
monochromatic
#101331 #1F245F #2E368D #3D48BB #6870CE
Accessibility & contrast
On white
10.35
#2E368D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E368D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E368D
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E368D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E368D | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e368d; /* rgb */ color: rgb(46, 54, 141); /* oklch */ color: oklch(38.2% 0.143 273.5);
Tailwind
colors: {
custom: {
50: '#736daf',
500: '#2e368d',
950: '#000000',
},
}SCSS
$custom: #2e368d; $custom-light: #736daf; $custom-dark: #000000;
JSON
{
"hex": "#2e368d",
"rgb": {
"r": 46,
"g": 54,
"b": 141
},
"hsl": {
"h": 234.947,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.38225,
"c": 0.14258,
"h": 273.5
},
"luminance": 0.05142
}Semantic roles & 50–950 ramp
primary
#2E368D
secondary
#B5AE62
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F