#2E3BAF#2E3BAF
#2E3BAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.183 H 271.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3BAF |
|---|---|
| RGB | rgb(46, 59, 175) |
| HSL | hsl(234, 58%, 43%) |
| HSV | hsv(234, 74%, 69%) |
| CMYK | cmyk(73.7%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(31.35, 35.24, -63.15) |
| CIE-LCH | lch(31.35, 72.31, 299.16°) |
| OKLab | oklab(42.24% 0.0033 -0.1826) |
| OKLCH | oklch(42.24% 0.183 271) |
| XYZ | xyz(10.4259, 6.8028, 41.3127) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.48
Blue Blue
#2242C7
ΔE00 3.72
Ocean Blue
#4F42B5
ΔE00 4.62
Blueberry
#464196
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 5.98
Cobalt
#0047AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3BAF #AFA22E
analogous
#2E7CAF #2E3BAF #612EAF
triadic
#2E3BAF #AF2E3B #3BAF2E
tetradic
#2E3BAF #AF2E7C #AFA22E #2EAF61
square
#2E3BAF #AF2E7C #AFA22E #2EAF61
split-complementary
#2E3BAF #AF612E #7CAF2E
monochromatic
#151A4E #212B7F #2E3BAF #4B58D0 #7B85DC
Accessibility & contrast
On white
8.90
#2E3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2E3BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3BAF
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3BAF | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e3baf; /* rgb */ color: rgb(46, 59, 175); /* oklch */ color: oklch(42.2% 0.183 271.0);
Tailwind
colors: {
custom: {
50: '#7a71c8',
500: '#2e3baf',
950: '#000000',
},
}SCSS
$custom: #2e3baf; $custom-light: #7a71c8; $custom-dark: #000000;
JSON
{
"hex": "#2e3baf",
"rgb": {
"r": 46,
"g": 59,
"b": 175
},
"hsl": {
"h": 233.953,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.42243,
"c": 0.18261,
"h": 271
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#2E3BAF
secondary
#C5BD74
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82