#27148E#27148E
#27148E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.182 H 276.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #27148E |
|---|---|
| RGB | rgb(39, 20, 142) |
| HSL | hsl(249, 75%, 32%) |
| HSV | hsv(249, 86%, 56%) |
| CMYK | cmyk(72.5%, 85.9%, 0%, 44.3%) |
| CIE-LAB | lab(19.57, 45.39, -62.47) |
| CIE-LCH | lch(19.57, 77.22, 306.00°) |
| OKLab | oklab(32.72% 0.0206 -0.1805) |
| OKLCH | oklch(32.72% 0.182 276.5) |
| XYZ | xyz(5.9677, 2.8841, 25.8281) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.10
Darkblue
#00008B
ΔE00 3.65
Cobalt Blue
#030AA7
ΔE00 3.70
Indigo (survey)
#380282
ΔE00 3.75
Royal Blue (survey)
#0504AA
ΔE00 4.11
Navy
#000080
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27148E #7B8E14
analogous
#143E8E #27148E #64148E
triadic
#27148E #8E2714 #148E27
tetradic
#27148E #8E143E #7B8E14 #148E64
square
#27148E #8E143E #7B8E14 #148E64
split-complementary
#27148E #8E6414 #3E8E14
monochromatic
#0A0523 #180C58 #27148E #361CC4 #5439E3
Accessibility & contrast
On white
13.32
#27148E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#27148E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27148E
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27148E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27148E | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #27148e; /* rgb */ color: rgb(39, 20, 142); /* oklch */ color: oklch(32.7% 0.182 276.5);
Tailwind
colors: {
custom: {
50: '#7357b0',
500: '#27148e',
950: '#000000',
},
}SCSS
$custom: #27148e; $custom-light: #7357b0; $custom-dark: #000000;
JSON
{
"hex": "#27148e",
"rgb": {
"r": 39,
"g": 20,
"b": 142
},
"hsl": {
"h": 249.344,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.32717,
"c": 0.18168,
"h": 276.5
},
"luminance": 0.02885
}Semantic roles & 50–950 ramp
primary
#27148E
secondary
#ADC23C
accent
#F236D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880