#272B77#272B77
#272B77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.128 H 274.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #272B77 |
|---|---|
| RGB | rgb(39, 43, 119) |
| HSL | hsl(237, 51%, 31%) |
| HSV | hsv(237, 67%, 47%) |
| CMYK | cmyk(67.2%, 63.9%, 0%, 53.3%) |
| CIE-LAB | lab(21.91, 24.31, -44.11) |
| CIE-LCH | lch(21.91, 50.37, 298.85°) |
| OKLab | oklab(33.66% 0.0109 -0.1271) |
| OKLCH | oklch(33.66% 0.128 274.9) |
| XYZ | xyz(5.0293, 3.4906, 17.8579) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 6.91
Marine
#042E60
ΔE00 7.26
Royal
#0C1793
ΔE00 7.35
Blueberry
#464196
ΔE00 7.94
Sapphire (survey)
#2138AB
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B77 #777327
analogous
#275377 #272B77 #4B2777
triadic
#272B77 #77272B #2B7727
tetradic
#272B77 #772753 #777327 #27774B
square
#272B77 #772753 #777327 #27774B
split-complementary
#272B77 #774B27 #537727
monochromatic
#090A1B #181A49 #272B77 #363CA5 #5258C6
Accessibility & contrast
On white
12.37
#272B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#272B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B77
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B77 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #272b77; /* rgb */ color: rgb(39, 43, 119); /* oklch */ color: oklch(33.7% 0.128 274.9);
Tailwind
colors: {
custom: {
50: '#6c649f',
500: '#272b77',
950: '#000000',
},
}SCSS
$custom: #272b77; $custom-light: #6c649f; $custom-dark: #000000;
JSON
{
"hex": "#272b77",
"rgb": {
"r": 39,
"g": 43,
"b": 119
},
"hsl": {
"h": 237,
"s": 50.633,
"l": 30.98
},
"oklch": {
"l": 0.33661,
"c": 0.12755,
"h": 274.9
},
"luminance": 0.03491
}Semantic roles & 50–950 ramp
primary
#272B77
secondary
#A9A551
accent
#D34EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E