#27138F#27138F
#27138F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.184 H 276.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #27138F |
|---|---|
| RGB | rgb(39, 19, 143) |
| HSL | hsl(250, 77%, 32%) |
| HSV | hsv(250, 87%, 56%) |
| CMYK | cmyk(72.7%, 86.7%, 0%, 43.9%) |
| CIE-LAB | lab(19.56, 46.12, -63.13) |
| CIE-LCH | lch(19.56, 78.18, 306.15°) |
| OKLab | oklab(32.74% 0.0206 -0.1824) |
| OKLCH | oklch(32.74% 0.184 276.4) |
| XYZ | xyz(6.0259, 2.8797, 26.2195) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.13
Cobalt Blue
#030AA7
ΔE00 3.53
Darkblue
#00008B
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 3.71
Royal Blue (survey)
#0504AA
ΔE00 3.93
Navy
#000080
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27138F #7B8F13
analogous
#133D8F #27138F #65138F
triadic
#27138F #8F2713 #138F27
tetradic
#27138F #8F133D #7B8F13 #138F65
square
#27138F #8F133D #7B8F13 #138F65
split-complementary
#27138F #8F6513 #3D8F13
monochromatic
#0A0523 #180C59 #27138F #361AC5 #5438E5
Accessibility & contrast
On white
13.32
#27138F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#27138F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27138F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27138F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27138F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #27138f; /* rgb */ color: rgb(39, 19, 143); /* oklch */ color: oklch(32.7% 0.184 276.4);
Tailwind
colors: {
custom: {
50: '#7357b1',
500: '#27138f',
950: '#000000',
},
}SCSS
$custom: #27138f; $custom-light: #7357b1; $custom-dark: #000000;
JSON
{
"hex": "#27138f",
"rgb": {
"r": 39,
"g": 19,
"b": 143
},
"hsl": {
"h": 249.677,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.3274,
"c": 0.18355,
"h": 276.4
},
"luminance": 0.0288
}Semantic roles & 50–950 ramp
primary
#27138F
secondary
#ADC33B
accent
#F335D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880