#2C39B7#2C39B7
#2C39B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.196 H 270.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C39B7 |
|---|---|
| RGB | rgb(44, 57, 183) |
| HSL | hsl(234, 61%, 45%) |
| HSV | hsv(234, 76%, 72%) |
| CMYK | cmyk(76%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(31.53, 39.13, -67.62) |
| CIE-LCH | lch(31.53, 78.12, 300.06°) |
| OKLab | oklab(42.57% 0.0017 -0.1957) |
| OKLCH | oklch(42.57% 0.196 270.5) |
| XYZ | xyz(11.0462, 6.8794, 45.5363) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 3.33
Ocean Blue
#4F42B5
ΔE00 4.64
Blue With A Hint Of Purple
#533CC6
ΔE00 5.35
Blue (survey)
#0343DF
ΔE00 5.72
Blurple
#5539CC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C39B7 #B7AA2C
analogous
#2C7FB7 #2C39B7 #642CB7
triadic
#2C39B7 #B72C39 #39B72C
tetradic
#2C39B7 #B72C7F #B7AA2C #2CB764
square
#2C39B7 #B72C7F #B7AA2C #2CB764
split-complementary
#2C39B7 #B7642C #7FB72C
monochromatic
#141A54 #202A86 #2C39B7 #4C59D4 #7E87E0
Accessibility & contrast
On white
8.84
#2C39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C39B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C39B7
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C39B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C39B7 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c39b7; /* rgb */ color: rgb(44, 57, 183); /* oklch */ color: oklch(42.6% 0.196 270.5);
Tailwind
colors: {
custom: {
50: '#7b70ce',
500: '#2c39b7',
950: '#000000',
},
}SCSS
$custom: #2c39b7; $custom-light: #7b70ce; $custom-dark: #000000;
JSON
{
"hex": "#2c39b7",
"rgb": {
"r": 44,
"g": 57,
"b": 183
},
"hsl": {
"h": 234.388,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.42571,
"c": 0.1957,
"h": 270.5
},
"luminance": 0.06881
}Semantic roles & 50–950 ramp
primary
#2C39B7
secondary
#C8C176
accent
#D543E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82