#27187C#27187C
#27187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.157 H 278.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #27187C |
|---|---|
| RGB | rgb(39, 24, 124) |
| HSL | hsl(249, 68%, 29%) |
| HSV | hsv(249, 81%, 49%) |
| CMYK | cmyk(68.5%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.10, 37.85, -53.57) |
| CIE-LCH | lch(18.10, 65.59, 305.25°) |
| OKLab | oklab(31.07% 0.0243 -0.1547) |
| OKLCH | oklch(31.07% 0.157 278.9) |
| XYZ | xyz(4.8003, 2.5394, 19.3021) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 4.61
Navy
#000080
ΔE00 4.75
Deep Blue
#040273
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27187C #6D7C18
analogous
#183B7C #27187C #59187C
triadic
#27187C #7C2718 #187C27
tetradic
#27187C #7C183B #6D7C18 #187C59
square
#27187C #7C183B #6D7C18 #187C59
split-complementary
#27187C #7C5918 #3B7C18
monochromatic
#08051A #170E49 #27187C #3722AF #4F36D8
Accessibility & contrast
On white
13.93
#27187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#27187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27187C
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27187C | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #27187c; /* rgb */ color: rgb(39, 24, 124); /* oklch */ color: oklch(31.1% 0.157 278.9);
Tailwind
colors: {
custom: {
50: '#6f58a3',
500: '#27187c',
950: '#000000',
},
}SCSS
$custom: #27187c; $custom-light: #6f58a3; $custom-dark: #000000;
JSON
{
"hex": "#27187c",
"rgb": {
"r": 39,
"g": 24,
"b": 124
},
"hsl": {
"h": 249,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.31071,
"c": 0.15659,
"h": 278.9
},
"luminance": 0.0254
}Semantic roles & 50–950 ramp
primary
#27187C
secondary
#A0B13F
accent
#EA3DD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F