#2C27A9#2C27A9
#2C27A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.197 H 273.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C27A9 |
|---|---|
| RGB | rgb(44, 39, 169) |
| HSL | hsl(242, 63%, 41%) |
| HSV | hsv(242, 77%, 66%) |
| CMYK | cmyk(74%, 76.9%, 0%, 33.7%) |
| CIE-LAB | lab(26.30, 44.90, -67.87) |
| CIE-LCH | lch(26.30, 81.38, 303.49°) |
| OKLab | oklab(38.41% 0.0126 -0.1963) |
| OKLCH | oklch(38.41% 0.197 273.7) |
| XYZ | xyz(8.9233, 4.8502, 37.9943) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Sapphire (survey)
#2138AB
ΔE00 4.86
Royal
#0C1793
ΔE00 5.08
True Blue
#010FCC
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.23
Ultramarine
#2000B1
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C27A9 #A4A927
analogous
#2763A9 #2C27A9 #6D27A9
triadic
#2C27A9 #A92C27 #27A92C
tetradic
#2C27A9 #A92763 #A4A927 #27A96D
square
#2C27A9 #A92763 #A4A927 #27A96D
split-complementary
#2C27A9 #A96D27 #63A927
monochromatic
#121046 #1F1C77 #2C27A9 #413BD2 #716DDD
Accessibility & contrast
On white
10.66
#2C27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C27A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C27A9
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C27A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C27A9 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c27a9; /* rgb */ color: rgb(44, 39, 169); /* oklch */ color: oklch(38.4% 0.197 273.7);
Tailwind
colors: {
custom: {
50: '#7a64c4',
500: '#2c27a9',
950: '#000000',
},
}SCSS
$custom: #2c27a9; $custom-light: #7a64c4; $custom-dark: #000000;
JSON
{
"hex": "#2c27a9",
"rgb": {
"r": 44,
"g": 39,
"b": 169
},
"hsl": {
"h": 242.308,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.38407,
"c": 0.19676,
"h": 273.7
},
"luminance": 0.04851
}Semantic roles & 50–950 ramp
primary
#2C27A9
secondary
#C0C468
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82