#2E38AD#2E38AD
#2E38AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.183 H 271.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E38AD |
|---|---|
| RGB | rgb(46, 56, 173) |
| HSL | hsl(235, 58%, 43%) |
| HSV | hsv(235, 73%, 68%) |
| CMYK | cmyk(73.4%, 67.6%, 0%, 32.2%) |
| CIE-LAB | lab(30.46, 36.42, -63.42) |
| CIE-LCH | lch(30.46, 73.13, 299.87°) |
| OKLab | oklab(41.54% 0.0053 -0.1834) |
| OKLCH | oklch(41.54% 0.183 271.7) |
| XYZ | xyz(10.0812, 6.4253, 40.2360) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.34
Blue Blue
#2242C7
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 4.92
Blueberry
#464196
ΔE00 5.39
Blue With A Hint Of Purple
#533CC6
ΔE00 6.10
Cobalt
#0047AB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E38AD #ADA32E
analogous
#2E77AD #2E38AD #642EAD
triadic
#2E38AD #AD2E38 #38AD2E
tetradic
#2E38AD #AD2E77 #ADA32E #2EAD64
square
#2E38AD #AD2E77 #ADA32E #2EAD64
split-complementary
#2E38AD #AD642E #77AD2E
monochromatic
#14194C #21287D #2E38AD #4954CF #7A82DC
Accessibility & contrast
On white
9.19
#2E38AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E38AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E38AD
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E38AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E38AD | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e38ad; /* rgb */ color: rgb(46, 56, 173); /* oklch */ color: oklch(41.5% 0.183 271.7);
Tailwind
colors: {
custom: {
50: '#7a6fc7',
500: '#2e38ad',
950: '#000000',
},
}SCSS
$custom: #2e38ad; $custom-light: #7a6fc7; $custom-dark: #000000;
JSON
{
"hex": "#2e38ad",
"rgb": {
"r": 46,
"g": 56,
"b": 173
},
"hsl": {
"h": 235.276,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.41537,
"c": 0.18346,
"h": 271.7
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#2E38AD
secondary
#C4BD73
accent
#D547E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82