#2A39AB#2A39AB
#2A39AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.181 H 270.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39AB |
|---|---|
| RGB | rgb(42, 57, 171) |
| HSL | hsl(233, 61%, 42%) |
| HSV | hsv(233, 75%, 67%) |
| CMYK | cmyk(75.4%, 66.7%, 0%, 32.9%) |
| CIE-LAB | lab(30.30, 34.63, -62.49) |
| CIE-LCH | lch(30.30, 71.45, 298.99°) |
| OKLab | oklab(41.3% 0.0007 -0.1808) |
| OKLCH | oklch(41.3% 0.181 270.2) |
| XYZ | xyz(9.7661, 6.3577, 39.2326) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.79
Blue Blue
#2242C7
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 5.30
Blueberry
#464196
ΔE00 5.35
Cobalt
#0047AB
ΔE00 6.15
Blue With A Hint Of Purple
#533CC6
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39AB #AB9C2A
analogous
#2A7AAB #2A39AB #5C2AAB
triadic
#2A39AB #AB2A39 #39AB2A
tetradic
#2A39AB #AB2A7A #AB9C2A #2AAB5C
square
#2A39AB #AB2A7A #AB9C2A #2AAB5C
split-complementary
#2A39AB #AB5C2A #7AAB2A
monochromatic
#121849 #1E297A #2A39AB #4252D1 #737FDD
Accessibility & contrast
On white
9.24
#2A39AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A39AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39AB
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39AB | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a39ab; /* rgb */ color: rgb(42, 57, 171); /* oklch */ color: oklch(41.3% 0.181 270.2);
Tailwind
colors: {
custom: {
50: '#786fc5',
500: '#2a39ab',
950: '#000000',
},
}SCSS
$custom: #2a39ab; $custom-light: #786fc5; $custom-dark: #000000;
JSON
{
"hex": "#2a39ab",
"rgb": {
"r": 42,
"g": 57,
"b": 171
},
"hsl": {
"h": 233.023,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.41303,
"c": 0.18077,
"h": 270.2
},
"luminance": 0.06359
}Semantic roles & 50–950 ramp
primary
#2A39AB
secondary
#C4BA6D
accent
#D144E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82