#272F7C#272F7C
#272F7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.129 H 273.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #272F7C |
|---|---|
| RGB | rgb(39, 47, 124) |
| HSL | hsl(234, 52%, 32%) |
| HSV | hsv(234, 69%, 49%) |
| CMYK | cmyk(68.5%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(23.40, 23.44, -44.86) |
| CIE-LCH | lch(23.40, 50.62, 297.59°) |
| OKLab | oklab(34.9% 0.0071 -0.1292) |
| OKLCH | oklch(34.9% 0.129 273.1) |
| XYZ | xyz(5.4901, 3.9191, 19.5320) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.26
Marine
#042E60
ΔE00 6.97
Blueberry
#464196
ΔE00 6.98
Sapphire (survey)
#2138AB
ΔE00 7.20
Royal
#0C1793
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F7C #7C7427
analogous
#275A7C #272F7C #4A277C
triadic
#272F7C #7C272F #2F7C27
tetradic
#272F7C #7C275A #7C7427 #277C4A
square
#272F7C #7C275A #7C7427 #277C4A
split-complementary
#272F7C #7C4A27 #5A7C27
monochromatic
#0A0C1F #181D4D #272F7C #3641AB #545FC9
Accessibility & contrast
On white
11.77
#272F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#272F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F7C
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F7C | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272f7c; /* rgb */ color: rgb(39, 47, 124); /* oklch */ color: oklch(34.9% 0.129 273.1);
Tailwind
colors: {
custom: {
50: '#6c67a3',
500: '#272f7c',
950: '#000000',
},
}SCSS
$custom: #272f7c; $custom-light: #6c67a3; $custom-dark: #000000;
JSON
{
"hex": "#272f7c",
"rgb": {
"r": 39,
"g": 47,
"b": 124
},
"hsl": {
"h": 234.353,
"s": 52.147,
"l": 31.961
},
"oklch": {
"l": 0.34896,
"c": 0.12943,
"h": 273.1
},
"luminance": 0.0392
}Semantic roles & 50–950 ramp
primary
#272F7C
secondary
#AEA551
accent
#CE4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F