#27197F#27197F
#27197F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.159 H 278.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #27197F |
|---|---|
| RGB | rgb(39, 25, 127) |
| HSL | hsl(248, 67%, 30%) |
| HSV | hsv(248, 80%, 50%) |
| CMYK | cmyk(69.3%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.62, 38.29, -54.61) |
| CIE-LCH | lch(18.62, 66.70, 305.04°) |
| OKLab | oklab(31.54% 0.0229 -0.1577) |
| OKLCH | oklch(31.54% 0.159 278.3) |
| XYZ | xyz(5.0139, 2.6585, 20.3235) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 4.30
Darkblue
#00008B
ΔE00 4.83
Navy
#000080
ΔE00 4.85
Dark Royal Blue
#02066F
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27197F #717F19
analogous
#193E7F #27197F #5A197F
triadic
#27197F #7F2719 #197F27
tetradic
#27197F #7F193E #717F19 #197F5A
square
#27197F #7F193E #717F19 #197F5A
split-complementary
#27197F #7F5A19 #3E7F19
monochromatic
#08051A #170F4C #27197F #3723B2 #503AD8
Accessibility & contrast
On white
13.71
#27197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#27197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27197F
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27197F | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #27197f; /* rgb */ color: rgb(39, 25, 127); /* oklch */ color: oklch(31.5% 0.159 278.3);
Tailwind
colors: {
custom: {
50: '#6f59a5',
500: '#27197f',
950: '#000000',
},
}SCSS
$custom: #27197f; $custom-light: #6f59a5; $custom-dark: #000000;
JSON
{
"hex": "#27197f",
"rgb": {
"r": 39,
"g": 25,
"b": 127
},
"hsl": {
"h": 248.235,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31538,
"c": 0.1594,
"h": 278.3
},
"luminance": 0.02659
}Semantic roles & 50–950 ramp
primary
#27197F
secondary
#A3B341
accent
#EA3ED2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F