#272E7F#272E7F
#272E7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.135 H 273.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #272E7F |
|---|---|
| RGB | rgb(39, 46, 127) |
| HSL | hsl(235, 53%, 33%) |
| HSV | hsv(235, 69%, 50%) |
| CMYK | cmyk(69.3%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(23.40, 25.25, -46.77) |
| CIE-LCH | lch(23.40, 53.15, 298.37°) |
| OKLab | oklab(34.97% 0.0079 -0.1348) |
| OKLCH | oklch(34.97% 0.135 273.4) |
| XYZ | xyz(5.6432, 3.9171, 20.5332) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.82
Blueberry
#464196
ΔE00 6.91
Royal
#0C1793
ΔE00 7.13
Marine
#042E60
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E7F #7F7827
analogous
#275A7F #272E7F #4C277F
triadic
#272E7F #7F272E #2E7F27
tetradic
#272E7F #7F275A #7F7827 #277F4C
square
#272E7F #7F275A #7F7827 #277F4C
split-complementary
#272E7F #7F4C27 #5A7F27
monochromatic
#0A0C21 #191D50 #272E7F #353FAE #555FCB
Accessibility & contrast
On white
11.77
#272E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#272E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E7F
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E7F | 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)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272e7f; /* rgb */ color: rgb(39, 46, 127); /* oklch */ color: oklch(35.0% 0.135 273.4);
Tailwind
colors: {
custom: {
50: '#6d66a5',
500: '#272e7f',
950: '#000000',
},
}SCSS
$custom: #272e7f; $custom-light: #6d66a5; $custom-dark: #000000;
JSON
{
"hex": "#272e7f",
"rgb": {
"r": 39,
"g": 46,
"b": 127
},
"hsl": {
"h": 235.227,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.34972,
"c": 0.13507,
"h": 273.4
},
"luminance": 0.03918
}Semantic roles & 50–950 ramp
primary
#272E7F
secondary
#B0A852
accent
#D14BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F