#27338E#27338E
#27338E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.150 H 271.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #27338E |
|---|---|
| RGB | rgb(39, 51, 142) |
| HSL | hsl(233, 57%, 35%) |
| HSV | hsv(233, 73%, 56%) |
| CMYK | cmyk(72.5%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(26.01, 27.50, -51.86) |
| CIE-LCH | lch(26.01, 58.70, 297.93°) |
| OKLab | oklab(37.31% 0.0033 -0.1497) |
| OKLCH | oklch(37.31% 0.15 271.3) |
| XYZ | xyz(6.9014, 4.7513, 26.1393) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 5.73
Royal
#0C1793
ΔE00 7.37
Midnight Blue
#191970
ΔE00 7.87
Cobalt
#0047AB
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27338E #8E8227
analogous
#27668E #27338E #4F278E
triadic
#27338E #8E2733 #338E27
tetradic
#27338E #8E2766 #8E8227 #278E4F
square
#27338E #8E2766 #8E8227 #278E4F
split-complementary
#27338E #8E4F27 #668E27
monochromatic
#0D112E #1A225E #27338E #3444BE #5D6BD2
Accessibility & contrast
On white
10.77
#27338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#27338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27338E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27338E | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #27338e; /* rgb */ color: rgb(39, 51, 142); /* oklch */ color: oklch(37.3% 0.150 271.3);
Tailwind
colors: {
custom: {
50: '#706ab0',
500: '#27338e',
950: '#000000',
},
}SCSS
$custom: #27338e; $custom-light: #706ab0; $custom-dark: #000000;
JSON
{
"hex": "#27338e",
"rgb": {
"r": 39,
"g": 51,
"b": 142
},
"hsl": {
"h": 233.01,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.37311,
"c": 0.14979,
"h": 271.3
},
"luminance": 0.04752
}Semantic roles & 50–950 ramp
primary
#27338E
secondary
#B8AD59
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80