#27339C#27339C
#27339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 270.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #27339C |
|---|---|
| RGB | rgb(39, 51, 156) |
| HSL | hsl(234, 60%, 38%) |
| HSV | hsv(234, 75%, 61%) |
| CMYK | cmyk(75%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.29, 32.69, -58.37) |
| CIE-LCH | lch(27.29, 66.90, 299.25°) |
| OKLab | oklab(38.64% 0.0024 -0.1688) |
| OKLCH | oklch(38.64% 0.169 270.8) |
| XYZ | xyz(8.0192, 5.1984, 32.0268) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Blueberry
#464196
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.97
Royal
#0C1793
ΔE00 6.98
Ocean Blue
#4F42B5
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27339C #9C9027
analogous
#276D9C #27339C #55279C
triadic
#27339C #9C2733 #339C27
tetradic
#27339C #9C276D #9C9027 #279C55
square
#27339C #9C276D #9C9027 #279C55
split-complementary
#27339C #9C5527 #6D9C27
monochromatic
#0F133A #1B236B #27339C #3444CC #6571D8
Accessibility & contrast
On white
10.30
#27339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#27339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27339C
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27339C | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #27339c; /* rgb */ color: rgb(39, 51, 156); /* oklch */ color: oklch(38.6% 0.169 270.8);
Tailwind
colors: {
custom: {
50: '#746bba',
500: '#27339c',
950: '#000000',
},
}SCSS
$custom: #27339c; $custom-light: #746bba; $custom-dark: #000000;
JSON
{
"hex": "#27339c",
"rgb": {
"r": 39,
"g": 51,
"b": 156
},
"hsl": {
"h": 233.846,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.38641,
"c": 0.16882,
"h": 270.8
},
"luminance": 0.05199
}Semantic roles & 50–950 ramp
primary
#27339C
secondary
#BEB561
accent
#D345E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81