#2C27A8#2C27A8
#2C27A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.196 H 273.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C27A8 |
|---|---|
| RGB | rgb(44, 39, 168) |
| HSL | hsl(242, 62%, 41%) |
| HSV | hsv(242, 77%, 66%) |
| CMYK | cmyk(73.8%, 76.8%, 0%, 34.1%) |
| CIE-LAB | lab(26.19, 44.58, -67.44) |
| CIE-LCH | lch(26.19, 80.84, 303.46°) |
| OKLab | oklab(38.3% 0.0129 -0.1951) |
| OKLCH | oklch(38.3% 0.196 273.8) |
| XYZ | xyz(8.8298, 4.8128, 37.5018) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.87
Royal
#0C1793
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.22
True Blue
#010FCC
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C27A8 #A3A827
analogous
#2762A8 #2C27A8 #6D27A8
triadic
#2C27A8 #A82C27 #27A82C
tetradic
#2C27A8 #A82762 #A3A827 #27A86D
square
#2C27A8 #A82762 #A3A827 #27A86D
split-complementary
#2C27A8 #A86D27 #62A827
monochromatic
#121045 #1F1B76 #2C27A8 #413BD1 #716CDD
Accessibility & contrast
On white
10.70
#2C27A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C27A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C27A8
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C27A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C27A8 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c27a8; /* rgb */ color: rgb(44, 39, 168); /* oklch */ color: oklch(38.3% 0.196 273.8);
Tailwind
colors: {
custom: {
50: '#7a63c3',
500: '#2c27a8',
950: '#000000',
},
}SCSS
$custom: #2c27a8; $custom-light: #7a63c3; $custom-dark: #000000;
JSON
{
"hex": "#2c27a8",
"rgb": {
"r": 44,
"g": 39,
"b": 168
},
"hsl": {
"h": 242.326,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.38298,
"c": 0.19554,
"h": 273.8
},
"luminance": 0.04814
}Semantic roles & 50–950 ramp
primary
#2C27A8
secondary
#C0C367
accent
#E542DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82