#2A39A9#2A39A9
#2A39A9 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.178 H 270.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39A9 |
|---|---|
| RGB | rgb(42, 57, 169) |
| HSL | hsl(233, 60%, 41%) |
| HSV | hsv(233, 75%, 66%) |
| CMYK | cmyk(75.1%, 66.3%, 0%, 33.7%) |
| CIE-LAB | lab(30.11, 33.90, -61.60) |
| CIE-LCH | lch(30.11, 70.31, 298.83°) |
| OKLab | oklab(41.11% 0.0009 -0.1781) |
| OKLCH | oklch(41.11% 0.178 270.3) |
| XYZ | xyz(9.5770, 6.2820, 38.2363) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.78
Blue Blue
#2242C7
ΔE00 4.63
Blueberry
#464196
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.43
Cobalt
#0047AB
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39A9 #A99A2A
analogous
#2A79A9 #2A39A9 #5B2AA9
triadic
#2A39A9 #A92A39 #39A92A
tetradic
#2A39A9 #A92A79 #A99A2A #2AA95B
square
#2A39A9 #A92A79 #A99A2A #2AA95B
split-complementary
#2A39A9 #A95B2A #79A92A
monochromatic
#121847 #1E2878 #2A39A9 #4151D0 #727EDC
Accessibility & contrast
On white
9.31
#2A39A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A39A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39A9
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39A9 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a39a9; /* rgb */ color: rgb(42, 57, 169); /* oklch */ color: oklch(41.1% 0.178 270.3);
Tailwind
colors: {
custom: {
50: '#776fc4',
500: '#2a39a9',
950: '#000000',
},
}SCSS
$custom: #2a39a9; $custom-light: #776fc4; $custom-dark: #000000;
JSON
{
"hex": "#2a39a9",
"rgb": {
"r": 42,
"g": 57,
"b": 169
},
"hsl": {
"h": 232.913,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.41112,
"c": 0.17815,
"h": 270.3
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#2A39A9
secondary
#C3B96C
accent
#D144E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82