#2A39B1#2A39B1
#2A39B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.189 H 270.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39B1 |
|---|---|
| RGB | rgb(42, 57, 177) |
| HSL | hsl(233, 62%, 43%) |
| HSV | hsv(233, 76%, 69%) |
| CMYK | cmyk(76.3%, 67.8%, 0%, 30.6%) |
| CIE-LAB | lab(30.86, 36.80, -65.16) |
| CIE-LCH | lch(30.86, 74.83, 299.45°) |
| OKLab | oklab(41.88% 0.0002 -0.1886) |
| OKLCH | oklch(41.88% 0.189 270.1) |
| XYZ | xyz(10.3511, 6.5917, 42.3132) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.27
Blue Blue
#2242C7
ΔE00 3.80
Ocean Blue
#4F42B5
ΔE00 4.99
Blueberry
#464196
ΔE00 5.82
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39B1 #B1A22A
analogous
#2A7DB1 #2A39B1 #5E2AB1
triadic
#2A39B1 #B12A39 #39B12A
tetradic
#2A39B1 #B12A7D #B1A22A #2AB15E
square
#2A39B1 #B12A7D #B1A22A #2AB15E
split-complementary
#2A39B1 #B15E2A #7DB12A
monochromatic
#13194E #1E2980 #2A39B1 #4555D3 #7782DF
Accessibility & contrast
On white
9.06
#2A39B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2A39B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39B1
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39B1 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a39b1; /* rgb */ color: rgb(42, 57, 177); /* oklch */ color: oklch(41.9% 0.189 270.1);
Tailwind
colors: {
custom: {
50: '#796fc9',
500: '#2a39b1',
950: '#000000',
},
}SCSS
$custom: #2a39b1; $custom-light: #796fc9; $custom-dark: #000000;
JSON
{
"hex": "#2a39b1",
"rgb": {
"r": 42,
"g": 57,
"b": 177
},
"hsl": {
"h": 233.333,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.41883,
"c": 0.18856,
"h": 270.1
},
"luminance": 0.06593
}Semantic roles & 50–950 ramp
primary
#2A39B1
secondary
#C6BD70
accent
#D343E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82