#272C82#272C82
#272C82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.142 H 273.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #272C82 |
|---|---|
| RGB | rgb(39, 44, 130) |
| HSL | hsl(237, 54%, 33%) |
| HSV | hsv(237, 70%, 51%) |
| CMYK | cmyk(70%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(23.15, 27.71, -49.06) |
| CIE-LCH | lch(23.15, 56.35, 299.46°) |
| OKLab | oklab(34.87% 0.0094 -0.1416) |
| OKLCH | oklch(34.87% 0.142 273.8) |
| XYZ | xyz(5.7653, 3.8439, 21.5529) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.44
Royal
#0C1793
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.45
Sapphire (survey)
#2138AB
ΔE00 6.58
Blueberry
#464196
ΔE00 7.08
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C82 #827D27
analogous
#275982 #272C82 #4F2782
triadic
#272C82 #82272C #2C8227
tetradic
#272C82 #822759 #827D27 #27824F
square
#272C82 #822759 #827D27 #27824F
split-complementary
#272C82 #824F27 #598227
monochromatic
#0B0C24 #191C53 #272C82 #353CB1 #575DCD
Accessibility & contrast
On white
11.87
#272C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#272C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C82
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C82 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #272c82; /* rgb */ color: rgb(39, 44, 130); /* oklch */ color: oklch(34.9% 0.142 273.8);
Tailwind
colors: {
custom: {
50: '#6e65a7',
500: '#272c82',
950: '#000000',
},
}SCSS
$custom: #272c82; $custom-light: #6e65a7; $custom-dark: #000000;
JSON
{
"hex": "#272c82",
"rgb": {
"r": 39,
"g": 44,
"b": 130
},
"hsl": {
"h": 236.703,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.34874,
"c": 0.1419,
"h": 273.8
},
"luminance": 0.03844
}Semantic roles & 50–950 ramp
primary
#272C82
secondary
#B1AC53
accent
#D54BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F