#272C76#272C76
#272C76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.125 H 274.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #272C76 |
|---|---|
| RGB | rgb(39, 44, 118) |
| HSL | hsl(236, 50%, 31%) |
| HSV | hsv(236, 67%, 46%) |
| CMYK | cmyk(66.9%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.09, 23.25, -43.18) |
| CIE-LCH | lch(22.09, 49.04, 298.30°) |
| OKLab | oklab(33.77% 0.01 -0.1243) |
| OKLCH | oklch(33.77% 0.125 274.6) |
| XYZ | xyz(5.0063, 3.5403, 17.5555) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 6.85
Marine
#042E60
ΔE00 6.95
Royal
#0C1793
ΔE00 7.75
Blueberry
#464196
ΔE00 7.87
Sapphire (survey)
#2138AB
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C76 #767127
analogous
#275376 #272C76 #492776
triadic
#272C76 #76272C #2C7627
tetradic
#272C76 #762753 #767127 #277649
square
#272C76 #762753 #767127 #277649
split-complementary
#272C76 #764927 #537627
monochromatic
#090A1A #181B48 #272C76 #363DA4 #5259C6
Accessibility & contrast
On white
12.29
#272C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#272C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C76
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C76 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272c76; /* rgb */ color: rgb(39, 44, 118); /* oklch */ color: oklch(33.8% 0.125 274.6);
Tailwind
colors: {
custom: {
50: '#6b659e',
500: '#272c76',
950: '#000000',
},
}SCSS
$custom: #272c76; $custom-light: #6b659e; $custom-dark: #000000;
JSON
{
"hex": "#272c76",
"rgb": {
"r": 39,
"g": 44,
"b": 118
},
"hsl": {
"h": 236.203,
"s": 50.318,
"l": 30.784
},
"oklch": {
"l": 0.33766,
"c": 0.12474,
"h": 274.6
},
"luminance": 0.03541
}Semantic roles & 50–950 ramp
primary
#272C76
secondary
#A8A351
accent
#D14EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E