#27179E#27179E
#27179E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 274.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #27179E |
|---|---|
| RGB | rgb(39, 23, 158) |
| HSL | hsl(247, 75%, 35%) |
| HSV | hsv(247, 85%, 62%) |
| CMYK | cmyk(75.3%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.99, 48.92, -68.35) |
| CIE-LCH | lch(21.99, 84.05, 305.59°) |
| OKLab | oklab(34.94% 0.0147 -0.1976) |
| OKLCH | oklch(34.94% 0.198 274.2) |
| XYZ | xyz(7.3126, 3.5120, 32.6336) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.47
Royal
#0C1793
ΔE00 2.53
Royal Blue (survey)
#0504AA
ΔE00 2.89
Ultramarine
#2000B1
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 3.36
Darkblue
#00008B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27179E #8E9E17
analogous
#174A9E #27179E #6A179E
triadic
#27179E #9E2717 #179E27
tetradic
#27179E #9E174A #8E9E17 #179E6A
square
#27179E #9E174A #8E9E17 #179E6A
split-complementary
#27179E #9E6A17 #4A9E17
monochromatic
#0D0733 #1A0F69 #27179E #341FD3 #5D4BE5
Accessibility & contrast
On white
12.33
#27179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#27179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27179E
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27179E | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #27179e; /* rgb */ color: rgb(39, 23, 158); /* oklch */ color: oklch(34.9% 0.198 274.2);
Tailwind
colors: {
custom: {
50: '#775abc',
500: '#27179e',
950: '#000000',
},
}SCSS
$custom: #27179e; $custom-light: #775abc; $custom-dark: #000000;
JSON
{
"hex": "#27179e",
"rgb": {
"r": 39,
"g": 23,
"b": 158
},
"hsl": {
"h": 247.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34943,
"c": 0.19814,
"h": 274.2
},
"luminance": 0.03513
}Semantic roles & 50–950 ramp
primary
#27179E
secondary
#B8C64A
accent
#F137DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981