#272E77#272E77
#272E77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.123 H 273.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #272E77 |
|---|---|
| RGB | rgb(39, 46, 119) |
| HSL | hsl(235, 51%, 31%) |
| HSV | hsv(235, 67%, 47%) |
| CMYK | cmyk(67.2%, 61.3%, 0%, 53.3%) |
| CIE-LAB | lab(22.71, 22.25, -42.81) |
| CIE-LCH | lch(22.71, 48.24, 297.46°) |
| OKLab | oklab(34.25% 0.0081 -0.1232) |
| OKLCH | oklch(34.25% 0.123 273.8) |
| XYZ | xyz(5.1424, 3.7168, 17.8956) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 6.60
Marine
#042E60
ΔE00 6.63
Blueberry
#464196
ΔE00 7.52
Sapphire (survey)
#2138AB
ΔE00 8.05
Royal
#0C1793
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E77 #777027
analogous
#275677 #272E77 #482777
triadic
#272E77 #77272E #2E7727
tetradic
#272E77 #772756 #777027 #277748
square
#272E77 #772756 #777027 #277748
split-complementary
#272E77 #774827 #567727
monochromatic
#090A1B #181C49 #272E77 #3640A5 #525CC6
Accessibility & contrast
On white
12.05
#272E77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#272E77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E77
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E77 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #272e77; /* rgb */ color: rgb(39, 46, 119); /* oklch */ color: oklch(34.3% 0.123 273.8);
Tailwind
colors: {
custom: {
50: '#6b669f',
500: '#272e77',
950: '#000000',
},
}SCSS
$custom: #272e77; $custom-light: #6b669f; $custom-dark: #000000;
JSON
{
"hex": "#272e77",
"rgb": {
"r": 39,
"g": 46,
"b": 119
},
"hsl": {
"h": 234.75,
"s": 50.633,
"l": 30.98
},
"oklch": {
"l": 0.34253,
"c": 0.12348,
"h": 273.8
},
"luminance": 0.03717
}Semantic roles & 50–950 ramp
primary
#272E77
secondary
#A9A151
accent
#CE4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E