#27339E#27339E
#27339E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.171 H 270.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #27339E |
|---|---|
| RGB | rgb(39, 51, 158) |
| HSL | hsl(234, 60%, 39%) |
| HSV | hsv(234, 75%, 62%) |
| CMYK | cmyk(75.3%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.48, 33.42, -59.27) |
| CIE-LCH | lch(27.48, 68.05, 299.42°) |
| OKLab | oklab(38.84% 0.0023 -0.1714) |
| OKLCH | oklch(38.84% 0.171 270.8) |
| XYZ | xyz(8.1900, 5.2667, 32.9261) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blueberry
#464196
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.75
Ocean Blue
#4F42B5
ΔE00 6.95
Royal
#0C1793
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27339E #9E9227
analogous
#276E9E #27339E #56279E
triadic
#27339E #9E2733 #339E27
tetradic
#27339E #9E276E #9E9227 #279E56
square
#27339E #9E276E #9E9227 #279E56
split-complementary
#27339E #9E5627 #6E9E27
monochromatic
#0F133C #1B236D #27339E #3544CD #6672D9
Accessibility & contrast
On white
10.23
#27339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#27339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27339E
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27339E | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #27339e; /* rgb */ color: rgb(39, 51, 158); /* oklch */ color: oklch(38.8% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#746bbc',
500: '#27339e',
950: '#000000',
},
}SCSS
$custom: #27339e; $custom-light: #746bbc; $custom-dark: #000000;
JSON
{
"hex": "#27339e",
"rgb": {
"r": 39,
"g": 51,
"b": 158
},
"hsl": {
"h": 233.95,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.38836,
"c": 0.17146,
"h": 270.8
},
"luminance": 0.05268
}Semantic roles & 50–950 ramp
primary
#27339E
secondary
#BFB662
accent
#D344E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81