#2C27A3#2C27A3
#2C27A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.189 H 274.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C27A3 |
|---|---|
| RGB | rgb(44, 39, 163) |
| HSL | hsl(242, 61%, 40%) |
| HSV | hsv(242, 76%, 64%) |
| CMYK | cmyk(73%, 76.1%, 0%, 36.1%) |
| CIE-LAB | lab(25.65, 42.93, -65.31) |
| CIE-LCH | lch(25.65, 78.16, 303.32°) |
| OKLab | oklab(37.76% 0.0139 -0.1889) |
| OKLCH | oklch(37.76% 0.189 274.2) |
| XYZ | xyz(8.3729, 4.6300, 35.0957) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.74
Royal
#0C1793
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.21
Ultramarine
#2000B1
ΔE00 5.58
Royal Blue (survey)
#0504AA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C27A3 #9EA327
analogous
#2760A3 #2C27A3 #6A27A3
triadic
#2C27A3 #A32C27 #27A32C
tetradic
#2C27A3 #A32760 #9EA327 #27A36A
square
#2C27A3 #A32760 #9EA327 #27A36A
split-complementary
#2C27A3 #A36A27 #60A327
monochromatic
#110F40 #1F1B72 #2C27A3 #3E38CF #6E69DB
Accessibility & contrast
On white
10.90
#2C27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C27A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C27A3
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C27A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C27A3 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c27a3; /* rgb */ color: rgb(44, 39, 163); /* oklch */ color: oklch(37.8% 0.189 274.2);
Tailwind
colors: {
custom: {
50: '#7863c0',
500: '#2c27a3',
950: '#000000',
},
}SCSS
$custom: #2c27a3; $custom-light: #7863c0; $custom-dark: #000000;
JSON
{
"hex": "#2c27a3",
"rgb": {
"r": 44,
"g": 39,
"b": 163
},
"hsl": {
"h": 242.419,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.37756,
"c": 0.18942,
"h": 274.2
},
"luminance": 0.04631
}Semantic roles & 50–950 ramp
primary
#2C27A3
secondary
#BEC164
accent
#E443DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81