#2A39B3#2A39B3
#2A39B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.191 H 270.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39B3 |
|---|---|
| RGB | rgb(42, 57, 179) |
| HSL | hsl(233, 62%, 43%) |
| HSV | hsv(233, 77%, 70%) |
| CMYK | cmyk(76.5%, 68.2%, 0%, 29.8%) |
| CIE-LAB | lab(31.05, 37.51, -66.04) |
| CIE-LCH | lch(31.05, 75.95, 299.60°) |
| OKLab | oklab(42.08% 0.0001 -0.1911) |
| OKLCH | oklch(42.08% 0.191 270) |
| XYZ | xyz(10.5519, 6.6720, 43.3708) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.50
Blue Blue
#2242C7
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 4.91
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Blueberry
#464196
ΔE00 5.99
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39B3 #B3A42A
analogous
#2A7DB3 #2A39B3 #602AB3
triadic
#2A39B3 #B32A39 #39B32A
tetradic
#2A39B3 #B32A7D #B3A42A #2AB360
square
#2A39B3 #B32A7D #B3A42A #2AB360
split-complementary
#2A39B3 #B3602A #7DB32A
monochromatic
#131950 #1E2981 #2A39B3 #4656D4 #7883DF
Accessibility & contrast
On white
9.00
#2A39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A39B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39B3
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39B3 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a39b3; /* rgb */ color: rgb(42, 57, 179); /* oklch */ color: oklch(42.1% 0.191 270.0);
Tailwind
colors: {
custom: {
50: '#7a70cb',
500: '#2a39b3',
950: '#000000',
},
}SCSS
$custom: #2a39b3; $custom-light: #7a70cb; $custom-dark: #000000;
JSON
{
"hex": "#2a39b3",
"rgb": {
"r": 42,
"g": 57,
"b": 179
},
"hsl": {
"h": 233.431,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.42078,
"c": 0.19113,
"h": 270
},
"luminance": 0.06673
}Semantic roles & 50–950 ramp
primary
#2A39B3
secondary
#C7BE72
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82