#2E39A5#2E39A5
#2E39A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.172 H 271.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39A5 |
|---|---|
| RGB | rgb(46, 57, 165) |
| HSL | hsl(234, 56%, 41%) |
| HSV | hsv(234, 72%, 65%) |
| CMYK | cmyk(72.1%, 65.5%, 0%, 35.3%) |
| CIE-LAB | lab(29.97, 32.92, -59.42) |
| CIE-LCH | lch(29.97, 67.93, 298.98°) |
| OKLab | oklab(40.95% 0.0053 -0.1717) |
| OKLCH | oklch(40.95% 0.172 271.8) |
| XYZ | xyz(9.3791, 6.2228, 36.2968) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.35
Blueberry
#464196
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.12
Cobalt
#0047AB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39A5 #A59A2E
analogous
#2E75A5 #2E39A5 #5F2EA5
triadic
#2E39A5 #A52E39 #39A52E
tetradic
#2E39A5 #A52E75 #A59A2E #2EA55F
square
#2E39A5 #A52E75 #A59A2E #2EA55F
split-complementary
#2E39A5 #A55F2E #75A52E
monochromatic
#131845 #212875 #2E39A5 #4551CB #757ED8
Accessibility & contrast
On white
9.35
#2E39A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E39A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39A5
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39A5 | 1.00 | 9.35 | 2.24 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e39a5; /* rgb */ color: rgb(46, 57, 165); /* oklch */ color: oklch(41.0% 0.172 271.8);
Tailwind
colors: {
custom: {
50: '#786fc1',
500: '#2e39a5',
950: '#000000',
},
}SCSS
$custom: #2e39a5; $custom-light: #786fc1; $custom-dark: #000000;
JSON
{
"hex": "#2e39a5",
"rgb": {
"r": 46,
"g": 57,
"b": 165
},
"hsl": {
"h": 234.454,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.40953,
"c": 0.17176,
"h": 271.8
},
"luminance": 0.06224
}Semantic roles & 50–950 ramp
primary
#2E39A5
secondary
#C0B96F
accent
#D248E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81