#27308C#27308C
#27308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.151 H 272.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #27308C |
|---|---|
| RGB | rgb(39, 48, 140) |
| HSL | hsl(235, 56%, 35%) |
| HSV | hsv(235, 72%, 55%) |
| CMYK | cmyk(72.1%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(25.07, 28.75, -52.17) |
| CIE-LCH | lch(25.07, 59.57, 298.86°) |
| OKLab | oklab(36.56% 0.0056 -0.1507) |
| OKLCH | oklch(36.56% 0.151 272.1) |
| XYZ | xyz(6.6257, 4.4380, 25.3133) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 5.97
Blueberry
#464196
ΔE00 6.03
Royal
#0C1793
ΔE00 6.57
Midnight Blue
#191970
ΔE00 7.00
Indigo Blue
#3A18B1
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27308C #8C8327
analogous
#27638C #27308C #50278C
triadic
#27308C #8C2730 #308C27
tetradic
#27308C #8C2763 #8C8327 #278C50
square
#27308C #8C2763 #8C8327 #278C50
split-complementary
#27308C #8C5027 #638C27
monochromatic
#0C0F2C #1A205C #27308C #3440BC #5C66D2
Accessibility & contrast
On white
11.12
#27308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#27308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27308C
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27308C | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #27308c; /* rgb */ color: rgb(39, 48, 140); /* oklch */ color: oklch(36.6% 0.151 272.1);
Tailwind
colors: {
custom: {
50: '#7068ae',
500: '#27308c',
950: '#000000',
},
}SCSS
$custom: #27308c; $custom-light: #7068ae; $custom-dark: #000000;
JSON
{
"hex": "#27308c",
"rgb": {
"r": 39,
"g": 48,
"b": 140
},
"hsl": {
"h": 234.653,
"s": 56.425,
"l": 35.098
},
"oklch": {
"l": 0.36562,
"c": 0.15078,
"h": 272.1
},
"luminance": 0.04439
}Semantic roles & 50–950 ramp
primary
#27308C
secondary
#B7AE58
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F