#27197E#27197E
#27197E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.158 H 278.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #27197E |
|---|---|
| RGB | rgb(39, 25, 126) |
| HSL | hsl(248, 67%, 30%) |
| HSV | hsv(248, 80%, 49%) |
| CMYK | cmyk(69%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.51, 37.97, -54.16) |
| CIE-LCH | lch(18.51, 66.14, 305.03°) |
| OKLab | oklab(31.43% 0.0232 -0.1564) |
| OKLCH | oklch(31.43% 0.158 278.4) |
| XYZ | xyz(4.9490, 2.6325, 19.9819) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 3.60
Indigo (survey)
#380282
ΔE00 4.34
Dark Royal Blue
#02066F
ΔE00 4.85
Navy
#000080
ΔE00 4.87
Darkblue
#00008B
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27197E #707E19
analogous
#193E7E #27197E #5A197E
triadic
#27197E #7E2719 #197E27
tetradic
#27197E #7E193E #707E19 #197E5A
square
#27197E #7E193E #707E19 #197E5A
split-complementary
#27197E #7E5A19 #3E7E19
monochromatic
#08051A #170F4B #27197E #3723B1 #503AD8
Accessibility & contrast
On white
13.76
#27197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#27197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27197E
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27197E | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #27197e; /* rgb */ color: rgb(39, 25, 126); /* oklch */ color: oklch(31.4% 0.158 278.4);
Tailwind
colors: {
custom: {
50: '#6f58a4',
500: '#27197e',
950: '#000000',
},
}SCSS
$custom: #27197e; $custom-light: #6f58a4; $custom-dark: #000000;
JSON
{
"hex": "#27197e",
"rgb": {
"r": 39,
"g": 25,
"b": 126
},
"hsl": {
"h": 248.317,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.31426,
"c": 0.15814,
"h": 278.4
},
"luminance": 0.02633
}Semantic roles & 50–950 ramp
primary
#27197E
secondary
#A2B241
accent
#EA3ED2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F