#272B78#272B78
#272B78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.129 H 274.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #272B78 |
|---|---|
| RGB | rgb(39, 43, 120) |
| HSL | hsl(237, 51%, 31%) |
| HSV | hsv(237, 68%, 47%) |
| CMYK | cmyk(67.5%, 64.2%, 0%, 52.9%) |
| CIE-LAB | lab(22.00, 24.68, -44.61) |
| CIE-LCH | lch(22.00, 50.98, 298.95°) |
| OKLab | oklab(33.75% 0.0108 -0.1285) |
| OKLCH | oklch(33.75% 0.129 274.8) |
| XYZ | xyz(5.0896, 3.5147, 18.1759) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 6.86
Royal
#0C1793
ΔE00 7.21
Marine
#042E60
ΔE00 7.36
Blueberry
#464196
ΔE00 7.86
Sapphire (survey)
#2138AB
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B78 #787427
analogous
#275378 #272B78 #4B2778
triadic
#272B78 #78272B #2B7827
tetradic
#272B78 #782753 #787427 #27784B
square
#272B78 #782753 #787427 #27784B
split-complementary
#272B78 #784B27 #537827
monochromatic
#090A1C #181A4A #272B78 #363CA6 #5258C7
Accessibility & contrast
On white
12.33
#272B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#272B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B78
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B78 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272b78; /* rgb */ color: rgb(39, 43, 120); /* oklch */ color: oklch(33.8% 0.129 274.8);
Tailwind
colors: {
custom: {
50: '#6c64a0',
500: '#272b78',
950: '#000000',
},
}SCSS
$custom: #272b78; $custom-light: #6c64a0; $custom-dark: #000000;
JSON
{
"hex": "#272b78",
"rgb": {
"r": 39,
"g": 43,
"b": 120
},
"hsl": {
"h": 237.037,
"s": 50.943,
"l": 31.176
},
"oklch": {
"l": 0.33752,
"c": 0.12899,
"h": 274.8
},
"luminance": 0.03515
}Semantic roles & 50–950 ramp
primary
#272B78
secondary
#AAA651
accent
#D34DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E