#2E34B1#2E34B1
#2E34B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.193 H 272.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2E34B1 |
|---|---|
| RGB | rgb(46, 52, 177) |
| HSL | hsl(237, 59%, 44%) |
| HSV | hsv(237, 74%, 69%) |
| CMYK | cmyk(74%, 70.6%, 0%, 30.6%) |
| CIE-LAB | lab(29.94, 40.28, -66.67) |
| CIE-LCH | lch(29.94, 77.89, 301.14°) |
| OKLab | oklab(41.27% 0.0072 -0.1929) |
| OKLCH | oklch(41.27% 0.193 272.1) |
| XYZ | xyz(10.2878, 6.2101, 42.2429) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blue Blue
#2242C7
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.81
Indigo Blue
#3A18B1
ΔE00 6.02
Blueberry
#464196
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E34B1 #B1AB2E
analogous
#2E75B1 #2E34B1 #692EB1
triadic
#2E34B1 #B12E34 #34B12E
tetradic
#2E34B1 #B12E75 #B1AB2E #2EB169
square
#2E34B1 #B12E75 #B1AB2E #2EB169
split-complementary
#2E34B1 #B1692E #75B12E
monochromatic
#151750 #212680 #2E34B1 #4C52D0 #7C81DD
Accessibility & contrast
On white
9.37
#2E34B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E34B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E34B1
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E34B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E34B1 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e34b1; /* rgb */ color: rgb(46, 52, 177); /* oklch */ color: oklch(41.3% 0.193 272.1);
Tailwind
colors: {
custom: {
50: '#7b6cc9',
500: '#2e34b1',
950: '#000000',
},
}SCSS
$custom: #2e34b1; $custom-light: #7b6cc9; $custom-dark: #000000;
JSON
{
"hex": "#2e34b1",
"rgb": {
"r": 46,
"g": 52,
"b": 177
},
"hsl": {
"h": 237.252,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.41274,
"c": 0.19301,
"h": 272.1
},
"luminance": 0.06211
}Semantic roles & 50–950 ramp
primary
#2E34B1
secondary
#C6C275
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82