#272D7D#272D7D
#272D7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.134 H 273.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #272D7D |
|---|---|
| RGB | rgb(39, 45, 125) |
| HSL | hsl(236, 52%, 32%) |
| HSV | hsv(236, 69%, 49%) |
| CMYK | cmyk(68.8%, 64%, 0%, 51%) |
| CIE-LAB | lab(22.96, 25.18, -46.22) |
| CIE-LCH | lch(22.96, 52.63, 298.58°) |
| OKLab | oklab(34.6% 0.0089 -0.1332) |
| OKLCH | oklch(34.6% 0.134 273.8) |
| XYZ | xyz(5.4755, 3.7883, 19.8407) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.42
Royal
#0C1793
ΔE00 7.08
Sapphire (survey)
#2138AB
ΔE00 7.19
Blueberry
#464196
ΔE00 7.19
Marine
#042E60
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272D7D #7D7727
analogous
#27587D #272D7D #4C277D
triadic
#272D7D #7D272D #2D7D27
tetradic
#272D7D #7D2758 #7D7727 #277D4C
square
#272D7D #7D2758 #7D7727 #277D4C
split-complementary
#272D7D #7D4C27 #587D27
monochromatic
#0A0B20 #181C4E #272D7D #363EAC #555DCA
Accessibility & contrast
On white
11.95
#272D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#272D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272D7D
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272D7D | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #272d7d; /* rgb */ color: rgb(39, 45, 125); /* oklch */ color: oklch(34.6% 0.134 273.8);
Tailwind
colors: {
custom: {
50: '#6d66a3',
500: '#272d7d',
950: '#000000',
},
}SCSS
$custom: #272d7d; $custom-light: #6d66a3; $custom-dark: #000000;
JSON
{
"hex": "#272d7d",
"rgb": {
"r": 39,
"g": 45,
"b": 125
},
"hsl": {
"h": 235.814,
"s": 52.439,
"l": 32.157
},
"oklch": {
"l": 0.34596,
"c": 0.13352,
"h": 273.8
},
"luminance": 0.03789
}Semantic roles & 50–950 ramp
primary
#272D7D
secondary
#AFA851
accent
#D24CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F