#272284#272284
#272284 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.157 H 276.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #272284 |
|---|---|
| RGB | rgb(39, 34, 132) |
| HSL | hsl(243, 59%, 33%) |
| HSV | hsv(243, 74%, 52%) |
| CMYK | cmyk(70.5%, 74.2%, 0%, 48.2%) |
| CIE-LAB | lab(20.98, 34.83, -53.87) |
| CIE-LCH | lch(20.98, 64.15, 302.88°) |
| OKLab | oklab(33.37% 0.0163 -0.1557) |
| OKLCH | oklch(33.37% 0.157 276) |
| XYZ | xyz(5.5722, 3.2408, 22.1572) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.73
Midnight Blue
#191970
ΔE00 3.75
Indigo (survey)
#380282
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.46
Navy
#000080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272284 #7F8422
analogous
#224E84 #272284 #582284
triadic
#272284 #842722 #228427
tetradic
#272284 #84224E #7F8422 #228458
square
#272284 #84224E #7F8422 #228458
split-complementary
#272284 #845822 #4E8422
monochromatic
#0A0923 #191553 #272284 #352FB5 #554FD2
Accessibility & contrast
On white
12.74
#272284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#272284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272284
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272284 | 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)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #272284; /* rgb */ color: rgb(39, 34, 132); /* oklch */ color: oklch(33.4% 0.157 276.0);
Tailwind
colors: {
custom: {
50: '#6f5ea9',
500: '#272284',
950: '#000000',
},
}SCSS
$custom: #272284; $custom-light: #6f5ea9; $custom-dark: #000000;
JSON
{
"hex": "#272284",
"rgb": {
"r": 39,
"g": 34,
"b": 132
},
"hsl": {
"h": 243.061,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.33369,
"c": 0.15654,
"h": 276
},
"luminance": 0.03241
}Semantic roles & 50–950 ramp
primary
#272284
secondary
#B0B54D
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F