#272185#272185
#272185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.159 H 276.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #272185 |
|---|---|
| RGB | rgb(39, 33, 133) |
| HSL | hsl(244, 60%, 33%) |
| HSV | hsv(244, 75%, 52%) |
| CMYK | cmyk(70.7%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.87, 35.77, -54.68) |
| CIE-LCH | lch(20.87, 65.34, 303.19°) |
| OKLab | oklab(33.32% 0.0168 -0.158) |
| OKLCH | oklch(33.32% 0.159 276.1) |
| XYZ | xyz(5.6128, 3.2120, 22.5099) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.45
Midnight Blue
#191970
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 5.95
Cobalt Blue
#030AA7
ΔE00 6.16
Darkblue
#00008B
ΔE00 6.18
Navy
#000080
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272185 #7F8521
analogous
#214D85 #272185 #592185
triadic
#272185 #852721 #218527
tetradic
#272185 #85214D #7F8521 #218559
square
#272185 #85214D #7F8521 #218559
split-complementary
#272185 #855921 #4D8521
monochromatic
#0A0923 #191554 #272185 #352DB6 #554DD3
Accessibility & contrast
On white
12.78
#272185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#272185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272185
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272185 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #272185; /* rgb */ color: rgb(39, 33, 133); /* oklch */ color: oklch(33.3% 0.159 276.1);
Tailwind
colors: {
custom: {
50: '#705eaa',
500: '#272185',
950: '#000000',
},
}SCSS
$custom: #272185; $custom-light: #705eaa; $custom-dark: #000000;
JSON
{
"hex": "#272185",
"rgb": {
"r": 39,
"g": 33,
"b": 133
},
"hsl": {
"h": 243.6,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.33322,
"c": 0.15893,
"h": 276.1
},
"luminance": 0.03213
}Semantic roles & 50–950 ramp
primary
#272185
secondary
#B0B64C
accent
#E344DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F