#272C7A#272C7A
#272C7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.131 H 274.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #272C7A |
|---|---|
| RGB | rgb(39, 44, 122) |
| HSL | hsl(236, 52%, 32%) |
| HSV | hsv(236, 68%, 48%) |
| CMYK | cmyk(68%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(22.43, 24.74, -45.17) |
| CIE-LCH | lch(22.43, 51.50, 298.71°) |
| OKLab | oklab(34.13% 0.0099 -0.1302) |
| OKLCH | oklch(34.13% 0.131 274.3) |
| XYZ | xyz(5.2491, 3.6374, 18.8340) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.65
Royal
#0C1793
ΔE00 7.19
Marine
#042E60
ΔE00 7.34
Blueberry
#464196
ΔE00 7.56
Sapphire (survey)
#2138AB
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C7A #7A7527
analogous
#27567A #272C7A #4C277A
triadic
#272C7A #7A272C #2C7A27
tetradic
#272C7A #7A2756 #7A7527 #277A4C
square
#272C7A #7A2756 #7A7527 #277A4C
split-complementary
#272C7A #7A4C27 #567A27
monochromatic
#090B1D #181B4C #272C7A #363DA8 #535AC8
Accessibility & contrast
On white
12.16
#272C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#272C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C7A
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C7A | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #272c7a; /* rgb */ color: rgb(39, 44, 122); /* oklch */ color: oklch(34.1% 0.131 274.3);
Tailwind
colors: {
custom: {
50: '#6c65a1',
500: '#272c7a',
950: '#000000',
},
}SCSS
$custom: #272c7a; $custom-light: #6c65a1; $custom-dark: #000000;
JSON
{
"hex": "#272c7a",
"rgb": {
"r": 39,
"g": 44,
"b": 122
},
"hsl": {
"h": 236.386,
"s": 51.553,
"l": 31.569
},
"oklch": {
"l": 0.34128,
"c": 0.13054,
"h": 274.3
},
"luminance": 0.03638
}Semantic roles & 50–950 ramp
primary
#272C7A
secondary
#ACA751
accent
#D24DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F