#2E38B0#2E38B0
#2E38B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.187 H 271.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E38B0 |
|---|---|
| RGB | rgb(46, 56, 176) |
| HSL | hsl(235, 59%, 44%) |
| HSV | hsv(235, 74%, 69%) |
| CMYK | cmyk(73.9%, 68.2%, 0%, 31%) |
| CIE-LAB | lab(30.74, 37.48, -64.75) |
| CIE-LCH | lch(30.74, 74.81, 300.07°) |
| OKLab | oklab(41.83% 0.0051 -0.1873) |
| OKLCH | oklch(41.83% 0.187 271.5) |
| XYZ | xyz(10.3747, 6.5427, 41.7820) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.56
Blue Blue
#2242C7
ΔE00 4.15
Ocean Blue
#4F42B5
ΔE00 4.78
Blueberry
#464196
ΔE00 5.65
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Blurple
#5539CC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E38B0 #B0A62E
analogous
#2E79B0 #2E38B0 #652EB0
triadic
#2E38B0 #B02E38 #38B02E
tetradic
#2E38B0 #B02E79 #B0A62E #2EB065
square
#2E38B0 #B02E79 #B0A62E #2EB065
split-complementary
#2E38B0 #B0652E #79B02E
monochromatic
#15194F #21297F #2E38B0 #4B55D0 #7C83DD
Accessibility & contrast
On white
9.10
#2E38B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2E38B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E38B0
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E38B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E38B0 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e38b0; /* rgb */ color: rgb(46, 56, 176); /* oklch */ color: oklch(41.8% 0.187 271.5);
Tailwind
colors: {
custom: {
50: '#7b6fc9',
500: '#2e38b0',
950: '#000000',
},
}SCSS
$custom: #2e38b0; $custom-light: #7b6fc9; $custom-dark: #000000;
JSON
{
"hex": "#2e38b0",
"rgb": {
"r": 46,
"g": 56,
"b": 176
},
"hsl": {
"h": 235.385,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.41826,
"c": 0.18734,
"h": 271.5
},
"luminance": 0.06544
}Semantic roles & 50–950 ramp
primary
#2E38B0
secondary
#C5BF75
accent
#D646E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82