#2E3BA4#2E3BA4
#2E3BA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.168 H 271.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3BA4 |
|---|---|
| RGB | rgb(46, 59, 164) |
| HSL | hsl(233, 56%, 41%) |
| HSV | hsv(233, 72%, 64%) |
| CMYK | cmyk(72%, 64%, 0%, 35.7%) |
| CIE-LAB | lab(30.37, 31.26, -58.16) |
| CIE-LCH | lch(30.37, 66.03, 298.26°) |
| OKLab | oklab(41.22% 0.004 -0.168) |
| OKLCH | oklch(41.22% 0.168 271.4) |
| XYZ | xyz(9.3892, 6.3882, 35.8530) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.58
Blueberry
#464196
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 5.00
Ocean Blue
#4F42B5
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3BA4 #A4972E
analogous
#2E76A4 #2E3BA4 #5C2EA4
triadic
#2E3BA4 #A42E3B #3BA42E
tetradic
#2E3BA4 #A42E76 #A4972E #2EA45C
square
#2E3BA4 #A42E76 #A4972E #2EA45C
split-complementary
#2E3BA4 #A45C2E #76A42E
monochromatic
#131944 #212A74 #2E3BA4 #4553CB #747FD8
Accessibility & contrast
On white
9.22
#2E3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2E3BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3BA4
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3BA4 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e3ba4; /* rgb */ color: rgb(46, 59, 164); /* oklch */ color: oklch(41.2% 0.168 271.4);
Tailwind
colors: {
custom: {
50: '#7871c0',
500: '#2e3ba4',
950: '#000000',
},
}SCSS
$custom: #2e3ba4; $custom-light: #7871c0; $custom-dark: #000000;
JSON
{
"hex": "#2e3ba4",
"rgb": {
"r": 46,
"g": 59,
"b": 164
},
"hsl": {
"h": 233.39,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.41222,
"c": 0.16802,
"h": 271.4
},
"luminance": 0.06389
}Semantic roles & 50–950 ramp
primary
#2E3BA4
secondary
#C0B76E
accent
#CF48DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81