#272E7E#272E7E
#272E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.134 H 273.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #272E7E |
|---|---|
| RGB | rgb(39, 46, 126) |
| HSL | hsl(235, 53%, 32%) |
| HSV | hsv(235, 69%, 49%) |
| CMYK | cmyk(69%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.31, 24.88, -46.28) |
| CIE-LCH | lch(23.31, 52.54, 298.26°) |
| OKLab | oklab(34.88% 0.0079 -0.1334) |
| OKLCH | oklch(34.88% 0.134 273.4) |
| XYZ | xyz(5.5783, 3.8912, 20.1917) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.28
Sapphire (survey)
#2138AB
ΔE00 6.96
Blueberry
#464196
ΔE00 6.98
Royal
#0C1793
ΔE00 7.24
Marine
#042E60
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E7E #7E7727
analogous
#275A7E #272E7E #4B277E
triadic
#272E7E #7E272E #2E7E27
tetradic
#272E7E #7E275A #7E7727 #277E4B
square
#272E7E #7E275A #7E7727 #277E4B
split-complementary
#272E7E #7E4B27 #5A7E27
monochromatic
#0A0C21 #191D4F #272E7E #353FAD #555ECA
Accessibility & contrast
On white
11.81
#272E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#272E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E7E
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E7E | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272e7e; /* rgb */ color: rgb(39, 46, 126); /* oklch */ color: oklch(34.9% 0.134 273.4);
Tailwind
colors: {
custom: {
50: '#6d66a4',
500: '#272e7e',
950: '#000000',
},
}SCSS
$custom: #272e7e; $custom-light: #6d66a4; $custom-dark: #000000;
JSON
{
"hex": "#272e7e",
"rgb": {
"r": 39,
"g": 46,
"b": 126
},
"hsl": {
"h": 235.172,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.34881,
"c": 0.13365,
"h": 273.4
},
"luminance": 0.03892
}Semantic roles & 50–950 ramp
primary
#272E7E
secondary
#AFA852
accent
#D14CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F