#272F89#272F89
#272F89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.148 H 272.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #272F89 |
|---|---|
| RGB | rgb(39, 47, 137) |
| HSL | hsl(235, 56%, 35%) |
| HSV | hsv(235, 72%, 54%) |
| CMYK | cmyk(71.5%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.54, 28.31, -51.16) |
| CIE-LCH | lch(24.54, 58.47, 298.95°) |
| OKLab | oklab(36.09% 0.0066 -0.1477) |
| OKLCH | oklch(36.09% 0.148 272.5) |
| XYZ | xyz(6.3671, 4.2699, 24.1507) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.05
Blueberry
#464196
ΔE00 6.28
Royal
#0C1793
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.57
Marine
#042E60
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F89 #898127
analogous
#276089 #272F89 #502789
triadic
#272F89 #89272F #2F8927
tetradic
#272F89 #892760 #898127 #278950
square
#272F89 #892760 #898127 #278950
split-complementary
#272F89 #895027 #608927
monochromatic
#0C0E2A #191F59 #272F89 #353FB9 #5A64D0
Accessibility & contrast
On white
11.33
#272F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#272F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F89
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F89 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #272f89; /* rgb */ color: rgb(39, 47, 137); /* oklch */ color: oklch(36.1% 0.148 272.5);
Tailwind
colors: {
custom: {
50: '#6f67ac',
500: '#272f89',
950: '#000000',
},
}SCSS
$custom: #272f89; $custom-light: #6f67ac; $custom-dark: #000000;
JSON
{
"hex": "#272f89",
"rgb": {
"r": 39,
"g": 47,
"b": 137
},
"hsl": {
"h": 235.102,
"s": 55.682,
"l": 34.51
},
"oklch": {
"l": 0.36092,
"c": 0.14787,
"h": 272.5
},
"luminance": 0.04271
}Semantic roles & 50–950 ramp
primary
#272F89
secondary
#B5AD57
accent
#D349DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F