#27197C#27197C
#27197C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.156 H 278.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #27197C |
|---|---|
| RGB | rgb(39, 25, 124) |
| HSL | hsl(248, 66%, 29%) |
| HSV | hsv(248, 80%, 49%) |
| CMYK | cmyk(68.5%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(18.28, 37.32, -53.26) |
| CIE-LCH | lch(18.28, 65.03, 305.02°) |
| OKLab | oklab(31.2% 0.0237 -0.1538) |
| OKLCH | oklch(31.2% 0.156 278.8) |
| XYZ | xyz(4.8213, 2.5814, 19.3091) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.43
Dark Royal Blue
#02066F
ΔE00 4.76
Navy
#000080
ΔE00 4.94
Deep Blue
#040273
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27197C #6E7C19
analogous
#193D7C #27197C #59197C
triadic
#27197C #7C2719 #197C27
tetradic
#27197C #7C193D #6E7C19 #197C59
square
#27197C #7C193D #6E7C19 #197C59
split-complementary
#27197C #7C5919 #3D7C19
monochromatic
#080519 #170F49 #27197C #3723AF #4F38D7
Accessibility & contrast
On white
13.85
#27197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#27197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27197C
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27197C | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #27197c; /* rgb */ color: rgb(39, 25, 124); /* oklch */ color: oklch(31.2% 0.156 278.8);
Tailwind
colors: {
custom: {
50: '#6e58a3',
500: '#27197c',
950: '#000000',
},
}SCSS
$custom: #27197c; $custom-light: #6e58a3; $custom-dark: #000000;
JSON
{
"hex": "#27197c",
"rgb": {
"r": 39,
"g": 25,
"b": 124
},
"hsl": {
"h": 248.485,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.31202,
"c": 0.15563,
"h": 278.8
},
"luminance": 0.02582
}Semantic roles & 50–950 ramp
primary
#27197C
secondary
#A1B040
accent
#E93ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F