#2A39A8#2A39A8
#2A39A8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.177 H 270.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39A8 |
|---|---|
| RGB | rgb(42, 57, 168) |
| HSL | hsl(233, 60%, 41%) |
| HSV | hsv(233, 75%, 66%) |
| CMYK | cmyk(75%, 66.1%, 0%, 34.1%) |
| CIE-LAB | lab(30.02, 33.54, -61.15) |
| CIE-LCH | lch(30.02, 69.74, 298.74°) |
| OKLab | oklab(41.02% 0.0009 -0.1768) |
| OKLCH | oklch(41.02% 0.177 270.3) |
| XYZ | xyz(9.4834, 6.2446, 37.7437) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.82
Blue Blue
#2242C7
ΔE00 4.74
Blueberry
#464196
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.50
Cobalt
#0047AB
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39A8 #A8992A
analogous
#2A78A8 #2A39A8 #5A2AA8
triadic
#2A39A8 #A82A39 #39A82A
tetradic
#2A39A8 #A82A78 #A8992A #2AA85A
square
#2A39A8 #A82A78 #A8992A #2AA85A
split-complementary
#2A39A8 #A85A2A #78A82A
monochromatic
#121846 #1E2877 #2A39A8 #4051CF #717EDB
Accessibility & contrast
On white
9.34
#2A39A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A39A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39A8
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39A8 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a39a8; /* rgb */ color: rgb(42, 57, 168); /* oklch */ color: oklch(41.0% 0.177 270.3);
Tailwind
colors: {
custom: {
50: '#776fc3',
500: '#2a39a8',
950: '#000000',
},
}SCSS
$custom: #2a39a8; $custom-light: #776fc3; $custom-dark: #000000;
JSON
{
"hex": "#2a39a8",
"rgb": {
"r": 42,
"g": 57,
"b": 168
},
"hsl": {
"h": 232.857,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.41017,
"c": 0.17683,
"h": 270.3
},
"luminance": 0.06246
}Semantic roles & 50–950 ramp
primary
#2A39A8
secondary
#C3B86B
accent
#D045E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82