#2E3DAF#2E3DAF
#2E3DAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.180 H 270.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3DAF |
|---|---|
| RGB | rgb(46, 61, 175) |
| HSL | hsl(233, 58%, 43%) |
| HSV | hsv(233, 74%, 69%) |
| CMYK | cmyk(73.7%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(31.84, 33.96, -62.36) |
| CIE-LCH | lch(31.84, 71.00, 298.57°) |
| OKLab | oklab(42.6% 0.002 -0.1802) |
| OKLCH | oklch(42.6% 0.18 270.6) |
| XYZ | xyz(10.5307, 7.0124, 41.3477) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.75
Blue Blue
#2242C7
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 4.57
Blueberry
#464196
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.55
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3DAF #AFA02E
analogous
#2E7DAF #2E3DAF #5F2EAF
triadic
#2E3DAF #AF2E3D #3DAF2E
tetradic
#2E3DAF #AF2E7D #AFA02E #2EAF5F
square
#2E3DAF #AF2E7D #AFA02E #2EAF5F
split-complementary
#2E3DAF #AF5F2E #7DAF2E
monochromatic
#151B4E #212C7F #2E3DAF #4B5AD0 #7B86DC
Accessibility & contrast
On white
8.74
#2E3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E3DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3DAF
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3DAF | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e3daf; /* rgb */ color: rgb(46, 61, 175); /* oklch */ color: oklch(42.6% 0.180 270.6);
Tailwind
colors: {
custom: {
50: '#7a72c8',
500: '#2e3daf',
950: '#000000',
},
}SCSS
$custom: #2e3daf; $custom-light: #7a72c8; $custom-dark: #000000;
JSON
{
"hex": "#2e3daf",
"rgb": {
"r": 46,
"g": 61,
"b": 175
},
"hsl": {
"h": 233.023,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.42595,
"c": 0.18026,
"h": 270.6
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#2E3DAF
secondary
#C5BB74
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82