#27307F#27307F
#27307F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.132 H 272.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #27307F |
|---|---|
| RGB | rgb(39, 48, 127) |
| HSL | hsl(234, 53%, 33%) |
| HSV | hsv(234, 69%, 50%) |
| CMYK | cmyk(69.3%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.92, 23.89, -45.91) |
| CIE-LCH | lch(23.92, 51.75, 297.49°) |
| OKLab | oklab(35.36% 0.0062 -0.1323) |
| OKLCH | oklch(35.36% 0.132 272.7) |
| XYZ | xyz(5.7231, 4.0770, 20.5599) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.53
Blueberry
#464196
ΔE00 6.63
Sapphire (survey)
#2138AB
ΔE00 6.68
Marine
#042E60
ΔE00 7.15
Royal
#0C1793
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27307F #7F7627
analogous
#275C7F #27307F #4A277F
triadic
#27307F #7F2730 #307F27
tetradic
#27307F #7F275C #7F7627 #277F4A
square
#27307F #7F275C #7F7627 #277F4A
split-complementary
#27307F #7F4A27 #5C7F27
monochromatic
#0A0D21 #191E50 #27307F #3542AE #5561CB
Accessibility & contrast
On white
11.57
#27307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#27307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27307F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27307F | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #27307f; /* rgb */ color: rgb(39, 48, 127); /* oklch */ color: oklch(35.4% 0.132 272.7);
Tailwind
colors: {
custom: {
50: '#6d68a5',
500: '#27307f',
950: '#000000',
},
}SCSS
$custom: #27307f; $custom-light: #6d68a5; $custom-dark: #000000;
JSON
{
"hex": "#27307f",
"rgb": {
"r": 39,
"g": 48,
"b": 127
},
"hsl": {
"h": 233.864,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.35363,
"c": 0.13243,
"h": 272.7
},
"luminance": 0.04078
}Semantic roles & 50–950 ramp
primary
#27307F
secondary
#B0A652
accent
#CE4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F