#2A39A7#2A39A7
#2A39A7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.176 H 270.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39A7 |
|---|---|
| RGB | rgb(42, 57, 167) |
| HSL | hsl(233, 60%, 41%) |
| HSV | hsv(233, 75%, 65%) |
| CMYK | cmyk(74.9%, 65.9%, 0%, 34.5%) |
| CIE-LAB | lab(29.93, 33.17, -60.70) |
| CIE-LCH | lch(29.93, 69.17, 298.66°) |
| OKLab | oklab(40.92% 0.001 -0.1755) |
| OKLCH | oklch(40.92% 0.176 270.3) |
| XYZ | xyz(9.3906, 6.2075, 37.2550) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.88
Blue Blue
#2242C7
ΔE00 4.85
Blueberry
#464196
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.57
Cobalt
#0047AB
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39A7 #A7982A
analogous
#2A77A7 #2A39A7 #592AA7
triadic
#2A39A7 #A72A39 #39A72A
tetradic
#2A39A7 #A72A77 #A7982A #2AA759
square
#2A39A7 #A72A77 #A7982A #2AA759
split-complementary
#2A39A7 #A7592A #77A72A
monochromatic
#111845 #1E2876 #2A39A7 #3F51CF #707DDB
Accessibility & contrast
On white
9.37
#2A39A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A39A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39A7
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39A7 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a39a7; /* rgb */ color: rgb(42, 57, 167); /* oklch */ color: oklch(40.9% 0.176 270.3);
Tailwind
colors: {
custom: {
50: '#776fc2',
500: '#2a39a7',
950: '#000000',
},
}SCSS
$custom: #2a39a7; $custom-light: #776fc2; $custom-dark: #000000;
JSON
{
"hex": "#2a39a7",
"rgb": {
"r": 42,
"g": 57,
"b": 167
},
"hsl": {
"h": 232.8,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.40922,
"c": 0.17551,
"h": 270.3
},
"luminance": 0.06209
}Semantic roles & 50–950 ramp
primary
#2A39A7
secondary
#C2B86B
accent
#D045E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81