#272186#272186
#272186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.160 H 275.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #272186 |
|---|---|
| RGB | rgb(39, 33, 134) |
| HSL | hsl(244, 60%, 33%) |
| HSV | hsv(244, 75%, 53%) |
| CMYK | cmyk(70.9%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.98, 36.11, -55.14) |
| CIE-LCH | lch(20.98, 65.91, 303.22°) |
| OKLab | oklab(33.43% 0.0166 -0.1594) |
| OKLCH | oklch(33.43% 0.16 275.9) |
| XYZ | xyz(5.6822, 3.2398, 22.8755) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 6.04
Darkblue
#00008B
ΔE00 6.13
Navy
#000080
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272186 #808621
analogous
#214E86 #272186 #592186
triadic
#272186 #862721 #218627
tetradic
#272186 #86214E #808621 #218659
square
#272186 #86214E #808621 #218659
split-complementary
#272186 #865921 #4E8621
monochromatic
#0A0924 #191555 #272186 #352DB7 #564ED3
Accessibility & contrast
On white
12.74
#272186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#272186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272186
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272186 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #272186; /* rgb */ color: rgb(39, 33, 134); /* oklch */ color: oklch(33.4% 0.160 275.9);
Tailwind
colors: {
custom: {
50: '#705eaa',
500: '#272186',
950: '#000000',
},
}SCSS
$custom: #272186; $custom-light: #705eaa; $custom-dark: #000000;
JSON
{
"hex": "#272186",
"rgb": {
"r": 39,
"g": 33,
"b": 134
},
"hsl": {
"h": 243.564,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.33429,
"c": 0.16022,
"h": 275.9
},
"luminance": 0.0324
}Semantic roles & 50–950 ramp
primary
#272186
secondary
#B0B74C
accent
#E444DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F