#27339F#27339F
#27339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.173 H 270.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #27339F |
|---|---|
| RGB | rgb(39, 51, 159) |
| HSL | hsl(234, 61%, 39%) |
| HSV | hsv(234, 75%, 62%) |
| CMYK | cmyk(75.5%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.58, 33.79, -59.73) |
| CIE-LCH | lch(27.58, 68.62, 299.50°) |
| OKLab | oklab(38.93% 0.0022 -0.1728) |
| OKLCH | oklch(38.93% 0.173 270.7) |
| XYZ | xyz(8.2764, 5.3013, 33.3812) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.17
Blueberry
#464196
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 6.50
Blue Blue
#2242C7
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 6.87
Royal
#0C1793
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27339F #9F9327
analogous
#276F9F #27339F #57279F
triadic
#27339F #9F2733 #339F27
tetradic
#27339F #9F276F #9F9327 #279F57
square
#27339F #9F276F #9F9327 #279F57
split-complementary
#27339F #9F5727 #6F9F27
monochromatic
#0F133D #1B236E #27339F #3645CE #6772DA
Accessibility & contrast
On white
10.19
#27339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#27339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27339F
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27339F | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #27339f; /* rgb */ color: rgb(39, 51, 159); /* oklch */ color: oklch(38.9% 0.173 270.7);
Tailwind
colors: {
custom: {
50: '#746bbc',
500: '#27339f',
950: '#000000',
},
}SCSS
$custom: #27339f; $custom-light: #746bbc; $custom-dark: #000000;
JSON
{
"hex": "#27339f",
"rgb": {
"r": 39,
"g": 51,
"b": 159
},
"hsl": {
"h": 234,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.38934,
"c": 0.17278,
"h": 270.7
},
"luminance": 0.05302
}Semantic roles & 50–950 ramp
primary
#27339F
secondary
#C0B662
accent
#D444E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81