#2E398E#2E398E
#2E398E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.140 H 272.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E398E |
|---|---|
| RGB | rgb(46, 57, 142) |
| HSL | hsl(233, 51%, 37%) |
| HSV | hsv(233, 68%, 56%) |
| CMYK | cmyk(67.6%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.01, 24.50, -48.60) |
| CIE-LCH | lch(28.01, 54.43, 296.75°) |
| OKLab | oklab(38.9% 0.0061 -0.1399) |
| OKLCH | oklch(38.9% 0.14 272.5) |
| XYZ | xyz(7.4707, 5.4594, 26.2460) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.40
Darkslateblue
#483D8B
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 6.64
Cobalt
#0047AB
ΔE00 6.99
Darkish Blue
#014182
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E398E #8E832E
analogous
#2E698E #2E398E #532E8E
triadic
#2E398E #8E2E39 #398E2E
tetradic
#2E398E #8E2E69 #8E832E #2E8E53
square
#2E398E #8E2E69 #8E832E #2E8E53
split-complementary
#2E398E #8E532E #698E2E
monochromatic
#101432 #1F2660 #2E398E #3D4CBC #6874CE
Accessibility & contrast
On white
10.04
#2E398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2E398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E398E
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E398E | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e398e; /* rgb */ color: rgb(46, 57, 142); /* oklch */ color: oklch(38.9% 0.140 272.5);
Tailwind
colors: {
custom: {
50: '#736fb0',
500: '#2e398e',
950: '#000000',
},
}SCSS
$custom: #2e398e; $custom-light: #736fb0; $custom-dark: #000000;
JSON
{
"hex": "#2e398e",
"rgb": {
"r": 46,
"g": 57,
"b": 142
},
"hsl": {
"h": 233.125,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.38897,
"c": 0.14006,
"h": 272.5
},
"luminance": 0.0546
}Semantic roles & 50–950 ramp
primary
#2E398E
secondary
#B5AC63
accent
#CA4DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F