#2E34B4#2E34B4
#2E34B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.197 H 272.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E34B4 |
|---|---|
| RGB | rgb(46, 52, 180) |
| HSL | hsl(237, 59%, 44%) |
| HSV | hsv(237, 74%, 71%) |
| CMYK | cmyk(74.4%, 71.1%, 0%, 29.4%) |
| CIE-LAB | lab(30.23, 41.32, -67.97) |
| CIE-LCH | lch(30.23, 79.54, 301.30°) |
| OKLab | oklab(41.58% 0.0068 -0.1967) |
| OKLCH | oklch(41.58% 0.197 272) |
| XYZ | xyz(10.5901, 6.3310, 43.8351) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Blue Blue
#2242C7
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.98
Blurple
#5539CC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E34B4 #B4AE2E
analogous
#2E77B4 #2E34B4 #6B2EB4
triadic
#2E34B4 #B42E34 #34B42E
tetradic
#2E34B4 #B42E77 #B4AE2E #2EB46B
square
#2E34B4 #B42E77 #B4AE2E #2EB46B
split-complementary
#2E34B4 #B46B2E #77B42E
monochromatic
#151853 #222683 #2E34B4 #4E53D2 #7E83DE
Accessibility & contrast
On white
9.27
#2E34B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2E34B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E34B4
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E34B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E34B4 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e34b4; /* rgb */ color: rgb(46, 52, 180); /* oklch */ color: oklch(41.6% 0.197 272.0);
Tailwind
colors: {
custom: {
50: '#7c6ccc',
500: '#2e34b4',
950: '#000000',
},
}SCSS
$custom: #2e34b4; $custom-light: #7c6ccc; $custom-dark: #000000;
JSON
{
"hex": "#2e34b4",
"rgb": {
"r": 46,
"g": 52,
"b": 180
},
"hsl": {
"h": 237.313,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.41576,
"c": 0.19679,
"h": 272
},
"luminance": 0.06332
}Semantic roles & 50–950 ramp
primary
#2E34B4
secondary
#C7C377
accent
#DB45E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82