#272F7E#272F7E
#272F7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.132 H 273.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #272F7E |
|---|---|
| RGB | rgb(39, 47, 126) |
| HSL | hsl(234, 53%, 32%) |
| HSV | hsv(234, 69%, 49%) |
| CMYK | cmyk(69%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.57, 24.20, -45.85) |
| CIE-LCH | lch(23.57, 51.84, 297.82°) |
| OKLab | oklab(35.08% 0.0071 -0.1321) |
| OKLCH | oklch(35.08% 0.132 273.1) |
| XYZ | xyz(5.6179, 3.9702, 20.2049) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.21
Blueberry
#464196
ΔE00 6.83
Sapphire (survey)
#2138AB
ΔE00 6.90
Marine
#042E60
ΔE00 7.20
Royal
#0C1793
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F7E #7E7627
analogous
#275A7E #272F7E #4B277E
triadic
#272F7E #7E272F #2F7E27
tetradic
#272F7E #7E275A #7E7627 #277E4B
square
#272F7E #7E275A #7E7627 #277E4B
split-complementary
#272F7E #7E4B27 #5A7E27
monochromatic
#0A0C21 #191E4F #272F7E #3540AD #5560CA
Accessibility & contrast
On white
11.70
#272F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#272F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F7E
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F7E | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272f7e; /* rgb */ color: rgb(39, 47, 126); /* oklch */ color: oklch(35.1% 0.132 273.1);
Tailwind
colors: {
custom: {
50: '#6d67a4',
500: '#272f7e',
950: '#000000',
},
}SCSS
$custom: #272f7e; $custom-light: #6d67a4; $custom-dark: #000000;
JSON
{
"hex": "#272f7e",
"rgb": {
"r": 39,
"g": 47,
"b": 126
},
"hsl": {
"h": 234.483,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.35076,
"c": 0.13232,
"h": 273.1
},
"luminance": 0.03971
}Semantic roles & 50–950 ramp
primary
#272F7E
secondary
#AFA752
accent
#CF4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F