#2C39AB#2C39AB
#2C39AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.180 H 270.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C39AB |
|---|---|
| RGB | rgb(44, 57, 171) |
| HSL | hsl(234, 59%, 42%) |
| HSV | hsv(234, 74%, 67%) |
| CMYK | cmyk(74.3%, 66.7%, 0%, 32.9%) |
| CIE-LAB | lab(30.40, 34.85, -62.32) |
| CIE-LCH | lch(30.40, 71.40, 299.21°) |
| OKLab | oklab(41.41% 0.0028 -0.1802) |
| OKLCH | oklch(41.41% 0.18 270.9) |
| XYZ | xyz(9.8500, 6.4010, 39.2366) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.98
Blue Blue
#2242C7
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.13
Blueberry
#464196
ΔE00 5.23
Cobalt
#0047AB
ΔE00 6.29
Blue With A Hint Of Purple
#533CC6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C39AB #AB9E2C
analogous
#2C79AB #2C39AB #5E2CAB
triadic
#2C39AB #AB2C39 #39AB2C
tetradic
#2C39AB #AB2C79 #AB9E2C #2CAB5E
square
#2C39AB #AB2C79 #AB9E2C #2CAB5E
split-complementary
#2C39AB #AB5E2C #79AB2C
monochromatic
#13194A #1F297A #2C39AB #4553CF #7680DC
Accessibility & contrast
On white
9.21
#2C39AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C39AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C39AB
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C39AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C39AB | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c39ab; /* rgb */ color: rgb(44, 57, 171); /* oklch */ color: oklch(41.4% 0.180 270.9);
Tailwind
colors: {
custom: {
50: '#796fc5',
500: '#2c39ab',
950: '#000000',
},
}SCSS
$custom: #2c39ab; $custom-light: #796fc5; $custom-dark: #000000;
JSON
{
"hex": "#2c39ab",
"rgb": {
"r": 44,
"g": 57,
"b": 171
},
"hsl": {
"h": 233.858,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.41408,
"c": 0.18023,
"h": 270.9
},
"luminance": 0.06402
}Semantic roles & 50–950 ramp
primary
#2C39AB
secondary
#C3BB6F
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82