#272F72#272F72
#272F72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.115 H 273.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #272F72 |
|---|---|
| RGB | rgb(39, 47, 114) |
| HSL | hsl(234, 49%, 30%) |
| HSV | hsv(234, 66%, 45%) |
| CMYK | cmyk(65.8%, 58.8%, 0%, 55.3%) |
| CIE-LAB | lab(22.58, 19.66, -39.83) |
| CIE-LCH | lch(22.58, 44.42, 296.28°) |
| OKLab | oklab(34.03% 0.007 -0.1144) |
| OKLCH | oklch(34.03% 0.115 273.5) |
| XYZ | xyz(4.8895, 3.6789, 16.3688) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.91
Marine Blue
#01386A
ΔE00 7.70
Navy Blue
#1B2A4A
ΔE00 7.85
Blueberry
#464196
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F72 #726A27
analogous
#275572 #272F72 #442772
triadic
#272F72 #72272F #2F7227
tetradic
#272F72 #722755 #726A27 #277244
square
#272F72 #722755 #726A27 #277244
split-complementary
#272F72 #724427 #557227
monochromatic
#080917 #171C44 #272F72 #3742A0 #505CC3
Accessibility & contrast
On white
12.10
#272F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#272F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F72
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F72 | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #272f72; /* rgb */ color: rgb(39, 47, 114); /* oklch */ color: oklch(34.0% 0.115 273.5);
Tailwind
colors: {
custom: {
50: '#6a679b',
500: '#272f72',
950: '#000000',
},
}SCSS
$custom: #272f72; $custom-light: #6a679b; $custom-dark: #000000;
JSON
{
"hex": "#272f72",
"rgb": {
"r": 39,
"g": 47,
"b": 114
},
"hsl": {
"h": 233.6,
"s": 49.02,
"l": 30
},
"oklch": {
"l": 0.34027,
"c": 0.11466,
"h": 273.5
},
"luminance": 0.03679
}Semantic roles & 50–950 ramp
primary
#272F72
secondary
#A49B50
accent
#CA4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E