#2E3CAB#2E3CAB
#2E3CAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.176 H 270.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3CAB |
|---|---|
| RGB | rgb(46, 60, 171) |
| HSL | hsl(233, 58%, 43%) |
| HSV | hsv(233, 73%, 67%) |
| CMYK | cmyk(73.1%, 64.9%, 0%, 32.9%) |
| CIE-LAB | lab(31.24, 33.16, -60.95) |
| CIE-LCH | lch(31.24, 69.38, 298.55°) |
| OKLab | oklab(42.05% 0.0029 -0.1761) |
| OKLCH | oklch(42.05% 0.176 270.9) |
| XYZ | xyz(10.0908, 6.7518, 39.2916) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blue Blue
#2242C7
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 4.82
Blueberry
#464196
ΔE00 4.87
Cobalt
#0047AB
ΔE00 5.66
Blue With A Hint Of Purple
#533CC6
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3CAB #AB9D2E
analogous
#2E7BAB #2E3CAB #5E2EAB
triadic
#2E3CAB #AB2E3C #3CAB2E
tetradic
#2E3CAB #AB2E7B #AB9D2E #2EAB5E
square
#2E3CAB #AB2E7B #AB9D2E #2EAB5E
split-complementary
#2E3CAB #AB5E2E #7BAB2E
monochromatic
#141A4B #212B7B #2E3CAB #4857CE #7984DB
Accessibility & contrast
On white
8.93
#2E3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E3CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3CAB
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3CAB | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e3cab; /* rgb */ color: rgb(46, 60, 171); /* oklch */ color: oklch(42.0% 0.176 270.9);
Tailwind
colors: {
custom: {
50: '#7972c5',
500: '#2e3cab',
950: '#000000',
},
}SCSS
$custom: #2e3cab; $custom-light: #7972c5; $custom-dark: #000000;
JSON
{
"hex": "#2e3cab",
"rgb": {
"r": 46,
"g": 60,
"b": 171
},
"hsl": {
"h": 233.28,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.42046,
"c": 0.17616,
"h": 270.9
},
"luminance": 0.06753
}Semantic roles & 50–950 ramp
primary
#2E3CAB
secondary
#C3BA72
accent
#D047E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82