#272F7D#272F7D
#272F7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.131 H 273.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #272F7D |
|---|---|
| RGB | rgb(39, 47, 125) |
| HSL | hsl(234, 52%, 32%) |
| HSV | hsv(234, 69%, 49%) |
| CMYK | cmyk(68.8%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(23.49, 23.82, -45.36) |
| CIE-LCH | lch(23.49, 51.23, 297.71°) |
| OKLab | oklab(34.99% 0.0071 -0.1307) |
| OKLCH | oklch(34.99% 0.131 273.1) |
| XYZ | xyz(5.5537, 3.9445, 19.8668) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.22
Blueberry
#464196
ΔE00 6.90
Sapphire (survey)
#2138AB
ΔE00 7.05
Marine
#042E60
ΔE00 7.08
Royal
#0C1793
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F7D #7D7527
analogous
#275A7D #272F7D #4A277D
triadic
#272F7D #7D272F #2F7D27
tetradic
#272F7D #7D275A #7D7527 #277D4A
square
#272F7D #7D275A #7D7527 #277D4A
split-complementary
#272F7D #7D4A27 #5A7D27
monochromatic
#0A0C20 #181D4E #272F7D #3641AC #555FCA
Accessibility & contrast
On white
11.74
#272F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#272F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F7D
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F7D | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272f7d; /* rgb */ color: rgb(39, 47, 125); /* oklch */ color: oklch(35.0% 0.131 273.1);
Tailwind
colors: {
custom: {
50: '#6d67a3',
500: '#272f7d',
950: '#000000',
},
}SCSS
$custom: #272f7d; $custom-light: #6d67a3; $custom-dark: #000000;
JSON
{
"hex": "#272f7d",
"rgb": {
"r": 39,
"g": 47,
"b": 125
},
"hsl": {
"h": 234.419,
"s": 52.439,
"l": 32.157
},
"oklch": {
"l": 0.34986,
"c": 0.13088,
"h": 273.1
},
"luminance": 0.03945
}Semantic roles & 50–950 ramp
primary
#272F7D
secondary
#AFA651
accent
#CE4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F