#2C39B0#2C39B0
#2C39B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.187 H 270.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C39B0 |
|---|---|
| RGB | rgb(44, 57, 176) |
| HSL | hsl(234, 60%, 43%) |
| HSV | hsv(234, 75%, 69%) |
| CMYK | cmyk(75%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(30.87, 36.64, -64.54) |
| CIE-LCH | lch(30.87, 74.22, 299.58°) |
| OKLab | oklab(41.89% 0.0024 -0.1867) |
| OKLCH | oklch(41.89% 0.187 270.7) |
| XYZ | xyz(10.3356, 6.5952, 41.7942) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blue Blue
#2242C7
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 4.87
Blueberry
#464196
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 5.98
Cobalt
#0047AB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C39B0 #B0A32C
analogous
#2C7BB0 #2C39B0 #612CB0
triadic
#2C39B0 #B02C39 #39B02C
tetradic
#2C39B0 #B02C7B #B0A32C #2CB061
square
#2C39B0 #B02C7B #B0A32C #2CB061
split-complementary
#2C39B0 #B0612C #7BB02C
monochromatic
#14194E #20297F #2C39B0 #4855D1 #7983DD
Accessibility & contrast
On white
9.05
#2C39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2C39B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C39B0
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C39B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C39B0 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c39b0; /* rgb */ color: rgb(44, 57, 176); /* oklch */ color: oklch(41.9% 0.187 270.7);
Tailwind
colors: {
custom: {
50: '#7a6fc9',
500: '#2c39b0',
950: '#000000',
},
}SCSS
$custom: #2c39b0; $custom-light: #7a6fc9; $custom-dark: #000000;
JSON
{
"hex": "#2c39b0",
"rgb": {
"r": 44,
"g": 57,
"b": 176
},
"hsl": {
"h": 234.091,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.41888,
"c": 0.18673,
"h": 270.7
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#2C39B0
secondary
#C6BD72
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82