#27148F#27148F
#27148F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.183 H 276.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #27148F |
|---|---|
| RGB | rgb(39, 20, 143) |
| HSL | hsl(249, 75%, 32%) |
| HSV | hsv(249, 86%, 56%) |
| CMYK | cmyk(72.7%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(19.70, 45.70, -62.89) |
| CIE-LCH | lch(19.70, 77.74, 306.00°) |
| OKLab | oklab(32.84% 0.0202 -0.1817) |
| OKLCH | oklch(32.84% 0.183 276.4) |
| XYZ | xyz(6.0432, 2.9142, 26.2253) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.06
Cobalt Blue
#030AA7
ΔE00 3.57
Darkblue
#00008B
ΔE00 3.67
Indigo (survey)
#380282
ΔE00 3.82
Royal Blue (survey)
#0504AA
ΔE00 3.99
Navy
#000080
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27148F #7C8F14
analogous
#143F8F #27148F #65148F
triadic
#27148F #8F2714 #148F27
tetradic
#27148F #8F143F #7C8F14 #148F65
square
#27148F #8F143F #7C8F14 #148F65
split-complementary
#27148F #8F6514 #3F8F14
monochromatic
#0A0524 #180C59 #27148F #361CC5 #543AE3
Accessibility & contrast
On white
13.27
#27148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#27148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27148F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27148F | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #27148f; /* rgb */ color: rgb(39, 20, 143); /* oklch */ color: oklch(32.8% 0.183 276.4);
Tailwind
colors: {
custom: {
50: '#7357b1',
500: '#27148f',
950: '#000000',
},
}SCSS
$custom: #27148f; $custom-light: #7357b1; $custom-dark: #000000;
JSON
{
"hex": "#27148f",
"rgb": {
"r": 39,
"g": 20,
"b": 143
},
"hsl": {
"h": 249.268,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.32838,
"c": 0.18284,
"h": 276.4
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#27148F
secondary
#AEC33C
accent
#F236D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880