#272C79#272C79
#272C79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.129 H 274.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #272C79 |
|---|---|
| RGB | rgb(39, 44, 121) |
| HSL | hsl(236, 51%, 31%) |
| HSV | hsv(236, 68%, 47%) |
| CMYK | cmyk(67.8%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.35, 24.37, -44.68) |
| CIE-LCH | lch(22.35, 50.89, 298.61°) |
| OKLab | oklab(34.04% 0.0099 -0.1287) |
| OKLCH | oklch(34.04% 0.129 274.4) |
| XYZ | xyz(5.1874, 3.6127, 18.5094) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.69
Marine
#042E60
ΔE00 7.24
Royal
#0C1793
ΔE00 7.33
Blueberry
#464196
ΔE00 7.63
Sapphire (survey)
#2138AB
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C79 #797427
analogous
#275579 #272C79 #4B2779
triadic
#272C79 #79272C #2C7927
tetradic
#272C79 #792755 #797427 #27794B
square
#272C79 #792755 #797427 #27794B
split-complementary
#272C79 #794B27 #557927
monochromatic
#090A1C #181B4B #272C79 #363DA7 #535AC8
Accessibility & contrast
On white
12.19
#272C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#272C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C79
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C79 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272c79; /* rgb */ color: rgb(39, 44, 121); /* oklch */ color: oklch(34.0% 0.129 274.4);
Tailwind
colors: {
custom: {
50: '#6c65a0',
500: '#272c79',
950: '#000000',
},
}SCSS
$custom: #272c79; $custom-light: #6c65a0; $custom-dark: #000000;
JSON
{
"hex": "#272c79",
"rgb": {
"r": 39,
"g": 44,
"b": 121
},
"hsl": {
"h": 236.341,
"s": 51.25,
"l": 31.373
},
"oklch": {
"l": 0.34037,
"c": 0.1291,
"h": 274.4
},
"luminance": 0.03613
}Semantic roles & 50–950 ramp
primary
#272C79
secondary
#ABA651
accent
#D24DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E