#2E38B3#2E38B3
#2E38B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.191 H 271.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E38B3 |
|---|---|
| RGB | rgb(46, 56, 179) |
| HSL | hsl(235, 59%, 44%) |
| HSV | hsv(235, 74%, 70%) |
| CMYK | cmyk(74.3%, 68.7%, 0%, 29.8%) |
| CIE-LAB | lab(31.03, 38.54, -66.07) |
| CIE-LCH | lch(31.03, 76.48, 300.26°) |
| OKLab | oklab(42.12% 0.0047 -0.1911) |
| OKLCH | oklch(42.12% 0.191 271.4) |
| XYZ | xyz(10.6748, 6.6627, 43.3625) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Blue Blue
#2242C7
ΔE00 3.90
Ocean Blue
#4F42B5
ΔE00 4.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Blueberry
#464196
ΔE00 5.92
Blurple
#5539CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E38B3 #B3A92E
analogous
#2E7BB3 #2E38B3 #672EB3
triadic
#2E38B3 #B32E38 #38B32E
tetradic
#2E38B3 #B32E7B #B3A92E #2EB367
square
#2E38B3 #B32E7B #B3A92E #2EB367
split-complementary
#2E38B3 #B3672E #7BB32E
monochromatic
#151A52 #212982 #2E38B3 #4D57D1 #7E85DE
Accessibility & contrast
On white
9.00
#2E38B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E38B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E38B3
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E38B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E38B3 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e38b3; /* rgb */ color: rgb(46, 56, 179); /* oklch */ color: oklch(42.1% 0.191 271.4);
Tailwind
colors: {
custom: {
50: '#7b6fcb',
500: '#2e38b3',
950: '#000000',
},
}SCSS
$custom: #2e38b3; $custom-light: #7b6fcb; $custom-dark: #000000;
JSON
{
"hex": "#2e38b3",
"rgb": {
"r": 46,
"g": 56,
"b": 179
},
"hsl": {
"h": 235.489,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.42119,
"c": 0.19118,
"h": 271.4
},
"luminance": 0.06664
}Semantic roles & 50–950 ramp
primary
#2E38B3
secondary
#C6C076
accent
#D746E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82