#27148C#27148C
#27148C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.179 H 276.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #27148C |
|---|---|
| RGB | rgb(39, 20, 140) |
| HSL | hsl(250, 75%, 31%) |
| HSV | hsv(250, 86%, 55%) |
| CMYK | cmyk(72.1%, 85.7%, 0%, 45.1%) |
| CIE-LAB | lab(19.33, 44.79, -61.63) |
| CIE-LCH | lch(19.33, 76.19, 306.01°) |
| OKLab | oklab(32.48% 0.0212 -0.1781) |
| OKLCH | oklch(32.48% 0.179 276.8) |
| XYZ | xyz(5.8189, 2.8246, 25.0444) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.20
Darkblue
#00008B
ΔE00 3.62
Indigo (survey)
#380282
ΔE00 3.64
Cobalt Blue
#030AA7
ΔE00 3.94
Navy
#000080
ΔE00 4.32
Royal Blue (survey)
#0504AA
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27148C #798C14
analogous
#143D8C #27148C #63148C
triadic
#27148C #8C2714 #148C27
tetradic
#27148C #8C143D #798C14 #148C63
square
#27148C #8C143D #798C14 #148C63
split-complementary
#27148C #8C6314 #3D8C14
monochromatic
#090521 #180C56 #27148C #361CC2 #5338E3
Accessibility & contrast
On white
13.42
#27148C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#27148C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27148C
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27148C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27148C | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #27148c; /* rgb */ color: rgb(39, 20, 140); /* oklch */ color: oklch(32.5% 0.179 276.8);
Tailwind
colors: {
custom: {
50: '#7357af',
500: '#27148c',
950: '#000000',
},
}SCSS
$custom: #27148c; $custom-light: #7357af; $custom-dark: #000000;
JSON
{
"hex": "#27148c",
"rgb": {
"r": 39,
"g": 20,
"b": 140
},
"hsl": {
"h": 249.5,
"s": 75,
"l": 31.373
},
"oklch": {
"l": 0.32477,
"c": 0.17933,
"h": 276.8
},
"luminance": 0.02825
}Semantic roles & 50–950 ramp
primary
#27148C
secondary
#ABC03C
accent
#F236D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880