#2C39AA#2C39AA
#2C39AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.179 H 270.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C39AA |
|---|---|
| RGB | rgb(44, 57, 170) |
| HSL | hsl(234, 59%, 42%) |
| HSV | hsv(234, 74%, 67%) |
| CMYK | cmyk(74.1%, 66.5%, 0%, 33.3%) |
| CIE-LAB | lab(30.31, 34.49, -61.87) |
| CIE-LCH | lch(30.31, 70.83, 299.14°) |
| OKLab | oklab(41.31% 0.0028 -0.1789) |
| OKLCH | oklch(41.31% 0.179 270.9) |
| XYZ | xyz(9.7551, 6.3630, 38.7365) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.97
Blue Blue
#2242C7
ΔE00 4.54
Blueberry
#464196
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.19
Cobalt
#0047AB
ΔE00 6.27
Blue With A Hint Of Purple
#533CC6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C39AA #AA9D2C
analogous
#2C78AA #2C39AA #5E2CAA
triadic
#2C39AA #AA2C39 #39AA2C
tetradic
#2C39AA #AA2C78 #AA9D2C #2CAA5E
square
#2C39AA #AA2C78 #AA9D2C #2CAA5E
split-complementary
#2C39AA #AA5E2C #78AA2C
monochromatic
#131849 #1F2979 #2C39AA #4453CF #7580DB
Accessibility & contrast
On white
9.24
#2C39AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C39AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C39AA
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C39AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C39AA | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c39aa; /* rgb */ color: rgb(44, 57, 170); /* oklch */ color: oklch(41.3% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#786fc4',
500: '#2c39aa',
950: '#000000',
},
}SCSS
$custom: #2c39aa; $custom-light: #786fc4; $custom-dark: #000000;
JSON
{
"hex": "#2c39aa",
"rgb": {
"r": 44,
"g": 57,
"b": 170
},
"hsl": {
"h": 233.81,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.41313,
"c": 0.17892,
"h": 270.9
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#2C39AA
secondary
#C3BA6F
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82