#27338F#27338F
#27338F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.151 H 271.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #27338F |
|---|---|
| RGB | rgb(39, 51, 143) |
| HSL | hsl(233, 57%, 36%) |
| HSV | hsv(233, 73%, 56%) |
| CMYK | cmyk(72.7%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(26.10, 27.87, -52.34) |
| CIE-LCH | lch(26.10, 59.30, 298.04°) |
| OKLab | oklab(37.4% 0.0032 -0.1511) |
| OKLCH | oklch(37.4% 0.151 271.2) |
| XYZ | xyz(6.9768, 4.7815, 26.5365) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Blueberry
#464196
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.75
Royal
#0C1793
ΔE00 7.31
Cobalt
#0047AB
ΔE00 7.92
Midnight Blue
#191970
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27338F #8F8327
analogous
#27678F #27338F #4F278F
triadic
#27338F #8F2733 #338F27
tetradic
#27338F #8F2767 #8F8327 #278F4F
square
#27338F #8F2767 #8F8327 #278F4F
split-complementary
#27338F #8F4F27 #678F27
monochromatic
#0D112F #1A225F #27338F #3444BF #5D6BD3
Accessibility & contrast
On white
10.73
#27338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#27338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27338F
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27338F | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #27338f; /* rgb */ color: rgb(39, 51, 143); /* oklch */ color: oklch(37.4% 0.151 271.2);
Tailwind
colors: {
custom: {
50: '#716ab1',
500: '#27338f',
950: '#000000',
},
}SCSS
$custom: #27338f; $custom-light: #716ab1; $custom-dark: #000000;
JSON
{
"hex": "#27338f",
"rgb": {
"r": 39,
"g": 51,
"b": 143
},
"hsl": {
"h": 233.077,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.37404,
"c": 0.15117,
"h": 271.2
},
"luminance": 0.04782
}Semantic roles & 50–950 ramp
primary
#27338F
secondary
#B8AD5A
accent
#CF47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80