#2E3FB6#2E3FB6
#2E3FB6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.187 H 270.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3FB6 |
|---|---|
| RGB | rgb(46, 63, 182) |
| HSL | hsl(233, 60%, 45%) |
| HSV | hsv(233, 75%, 71%) |
| CMYK | cmyk(74.7%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(32.95, 35.21, -64.70) |
| CIE-LCH | lch(32.95, 73.66, 298.56°) |
| OKLab | oklab(43.6% 0.0003 -0.1871) |
| OKLCH | oklch(43.6% 0.187 270.1) |
| XYZ | xyz(11.3448, 7.5120, 45.0990) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.39
Sapphire (survey)
#2138AB
ΔE00 2.61
Ocean Blue
#4F42B5
ΔE00 4.29
Blue (survey)
#0343DF
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.45
Blue With A Hint Of Purple
#533CC6
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3FB6 #B6A52E
analogous
#2E83B6 #2E3FB6 #612EB6
triadic
#2E3FB6 #B62E3F #3FB62E
tetradic
#2E3FB6 #B62E83 #B6A52E #2EB661
square
#2E3FB6 #B62E83 #B6A52E #2EB661
split-complementary
#2E3FB6 #B6612E #83B62E
monochromatic
#151D54 #222E85 #2E3FB6 #4F5FD2 #808CDF
Accessibility & contrast
On white
8.39
#2E3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E3FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3FB6
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3FB6 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e3fb6; /* rgb */ color: rgb(46, 63, 182); /* oklch */ color: oklch(43.6% 0.187 270.1);
Tailwind
colors: {
custom: {
50: '#7b74cd',
500: '#2e3fb6',
950: '#000000',
},
}SCSS
$custom: #2e3fb6; $custom-light: #7b74cd; $custom-dark: #000000;
JSON
{
"hex": "#2e3fb6",
"rgb": {
"r": 46,
"g": 63,
"b": 182
},
"hsl": {
"h": 232.5,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.436,
"c": 0.18709,
"h": 270.1
},
"luminance": 0.07513
}Semantic roles & 50–950 ramp
primary
#2E3FB6
secondary
#C8BE78
accent
#CF45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82