#27148B#27148B
#27148B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.178 H 276.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #27148B |
|---|---|
| RGB | rgb(39, 20, 139) |
| HSL | hsl(250, 75%, 31%) |
| HSV | hsv(250, 86%, 55%) |
| CMYK | cmyk(71.9%, 85.6%, 0%, 45.5%) |
| CIE-LAB | lab(19.20, 44.49, -61.21) |
| CIE-LCH | lch(19.20, 75.67, 306.01°) |
| OKLab | oklab(32.36% 0.0216 -0.1768) |
| OKLCH | oklch(32.36% 0.178 276.9) |
| XYZ | xyz(5.7455, 2.7952, 24.6578) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.27
Indigo (survey)
#380282
ΔE00 3.59
Darkblue
#00008B
ΔE00 3.61
Cobalt Blue
#030AA7
ΔE00 4.07
Navy
#000080
ΔE00 4.26
Royal Blue (survey)
#0504AA
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27148B #788B14
analogous
#143C8B #27148B #62148B
triadic
#27148B #8B2714 #148B27
tetradic
#27148B #8B143C #788B14 #148B62
square
#27148B #8B143C #788B14 #148B62
split-complementary
#27148B #8B6214 #3C8B14
monochromatic
#090520 #180C55 #27148B #361CC1 #5237E2
Accessibility & contrast
On white
13.47
#27148B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#27148B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27148B
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27148B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27148B | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #27148b; /* rgb */ color: rgb(39, 20, 139); /* oklch */ color: oklch(32.4% 0.178 276.9);
Tailwind
colors: {
custom: {
50: '#7257ae',
500: '#27148b',
950: '#000000',
},
}SCSS
$custom: #27148b; $custom-light: #7257ae; $custom-dark: #000000;
JSON
{
"hex": "#27148b",
"rgb": {
"r": 39,
"g": 20,
"b": 139
},
"hsl": {
"h": 249.58,
"s": 74.843,
"l": 31.176
},
"oklch": {
"l": 0.32357,
"c": 0.17816,
"h": 276.9
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#27148B
secondary
#AABF3C
accent
#F136D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090310
muted
#7B787F