#2C39A4#2C39A4
#2C39A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.171 H 271.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C39A4 |
|---|---|
| RGB | rgb(44, 57, 164) |
| HSL | hsl(234, 58%, 41%) |
| HSV | hsv(234, 73%, 64%) |
| CMYK | cmyk(73.2%, 65.2%, 0%, 35.7%) |
| CIE-LAB | lab(29.77, 32.31, -59.15) |
| CIE-LCH | lch(29.77, 67.40, 298.64°) |
| OKLab | oklab(40.75% 0.0033 -0.1709) |
| OKLCH | oklch(40.75% 0.171 271.1) |
| XYZ | xyz(9.2004, 6.1411, 35.8152) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.28
Blueberry
#464196
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.62
Cobalt
#0047AB
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C39A4 #A4972C
analogous
#2C75A4 #2C39A4 #5B2CA4
triadic
#2C39A4 #A42C39 #39A42C
tetradic
#2C39A4 #A42C75 #A4972C #2CA45B
square
#2C39A4 #A42C75 #A4972C #2CA45B
split-complementary
#2C39A4 #A45B2C #75A42C
monochromatic
#121743 #1F2874 #2C39A4 #4150CC #717DD9
Accessibility & contrast
On white
9.42
#2C39A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2C39A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C39A4
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C39A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C39A4 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c39a4; /* rgb */ color: rgb(44, 57, 164); /* oklch */ color: oklch(40.7% 0.171 271.1);
Tailwind
colors: {
custom: {
50: '#776fc0',
500: '#2c39a4',
950: '#000000',
},
}SCSS
$custom: #2c39a4; $custom-light: #776fc0; $custom-dark: #000000;
JSON
{
"hex": "#2c39a4",
"rgb": {
"r": 44,
"g": 57,
"b": 164
},
"hsl": {
"h": 233.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.40747,
"c": 0.17098,
"h": 271.1
},
"luminance": 0.06142
}Semantic roles & 50–950 ramp
primary
#2C39A4
secondary
#C0B76B
accent
#D047E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81