#2C27A5#2C27A5
#2C27A5 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.192 H 274.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C27A5 |
|---|---|
| RGB | rgb(44, 39, 165) |
| HSL | hsl(242, 62%, 40%) |
| HSV | hsv(242, 76%, 65%) |
| CMYK | cmyk(73.3%, 76.4%, 0%, 35.3%) |
| CIE-LAB | lab(25.87, 43.59, -66.17) |
| CIE-LCH | lch(25.87, 79.24, 303.38°) |
| OKLab | oklab(37.97% 0.0135 -0.1914) |
| OKLCH | oklch(37.97% 0.192 274) |
| XYZ | xyz(8.5535, 4.7023, 36.0469) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.58
Royal
#0C1793
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.20
Ultramarine
#2000B1
ΔE00 5.50
Royal Blue (survey)
#0504AA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C27A5 #A0A527
analogous
#2761A5 #2C27A5 #6B27A5
triadic
#2C27A5 #A52C27 #27A52C
tetradic
#2C27A5 #A52761 #A0A527 #27A56B
square
#2C27A5 #A52761 #A0A527 #27A56B
split-complementary
#2C27A5 #A56B27 #61A527
monochromatic
#121042 #1F1B74 #2C27A5 #3F39D0 #6F6ADC
Accessibility & contrast
On white
10.82
#2C27A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C27A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C27A5
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C27A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C27A5 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c27a5; /* rgb */ color: rgb(44, 39, 165); /* oklch */ color: oklch(38.0% 0.192 274.0);
Tailwind
colors: {
custom: {
50: '#7963c1',
500: '#2c27a5',
950: '#000000',
},
}SCSS
$custom: #2c27a5; $custom-light: #7963c1; $custom-dark: #000000;
JSON
{
"hex": "#2c27a5",
"rgb": {
"r": 44,
"g": 39,
"b": 165
},
"hsl": {
"h": 242.381,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.37972,
"c": 0.19188,
"h": 274
},
"luminance": 0.04703
}Semantic roles & 50–950 ramp
primary
#2C27A5
secondary
#BFC266
accent
#E543DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81