#272C78#272C78
#272C78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.128 H 274.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #272C78 |
|---|---|
| RGB | rgb(39, 44, 120) |
| HSL | hsl(236, 51%, 31%) |
| HSV | hsv(236, 68%, 47%) |
| CMYK | cmyk(67.5%, 63.3%, 0%, 52.9%) |
| CIE-LAB | lab(22.26, 24.00, -44.18) |
| CIE-LCH | lch(22.26, 50.28, 298.51°) |
| OKLab | oklab(33.95% 0.0099 -0.1273) |
| OKLCH | oklch(33.95% 0.128 274.5) |
| XYZ | xyz(5.1264, 3.5883, 18.1881) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.74
Marine
#042E60
ΔE00 7.14
Royal
#0C1793
ΔE00 7.46
Blueberry
#464196
ΔE00 7.71
Sapphire (survey)
#2138AB
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C78 #787327
analogous
#275478 #272C78 #4A2778
triadic
#272C78 #78272C #2C7827
tetradic
#272C78 #782754 #787327 #27784A
square
#272C78 #782754 #787327 #27784A
split-complementary
#272C78 #784A27 #547827
monochromatic
#090A1C #181B4A #272C78 #363DA6 #525AC7
Accessibility & contrast
On white
12.22
#272C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#272C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C78
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C78 | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272c78; /* rgb */ color: rgb(39, 44, 120); /* oklch */ color: oklch(33.9% 0.128 274.5);
Tailwind
colors: {
custom: {
50: '#6c65a0',
500: '#272c78',
950: '#000000',
},
}SCSS
$custom: #272c78; $custom-light: #6c65a0; $custom-dark: #000000;
JSON
{
"hex": "#272c78",
"rgb": {
"r": 39,
"g": 44,
"b": 120
},
"hsl": {
"h": 236.296,
"s": 50.943,
"l": 31.176
},
"oklch": {
"l": 0.33946,
"c": 0.12765,
"h": 274.5
},
"luminance": 0.03589
}Semantic roles & 50–950 ramp
primary
#272C78
secondary
#AAA551
accent
#D24DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E