#272FA1#272FA1
#272FA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 271.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #272FA1 |
|---|---|
| RGB | rgb(39, 47, 161) |
| HSL | hsl(236, 61%, 39%) |
| HSV | hsv(236, 76%, 63%) |
| CMYK | cmyk(75.8%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(26.84, 37.04, -62.15) |
| CIE-LCH | lch(26.84, 72.35, 300.79°) |
| OKLab | oklab(38.46% 0.0042 -0.1799) |
| OKLCH | oklch(38.46% 0.18 271.3) |
| XYZ | xyz(8.2841, 5.0367, 34.2469) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 5.87
Royal
#0C1793
ΔE00 6.00
Blueberry
#464196
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 7.07
Cobalt Blue
#030AA7
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272FA1 #A19927
analogous
#276CA1 #272FA1 #5C27A1
triadic
#272FA1 #A1272F #2FA127
tetradic
#272FA1 #A1276C #A19927 #27A15C
square
#272FA1 #A1276C #A19927 #27A15C
split-complementary
#272FA1 #A15C27 #6CA127
monochromatic
#0F123E #1B2170 #272FA1 #3741CE #686FDA
Accessibility & contrast
On white
10.46
#272FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#272FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272FA1
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272FA1 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272fa1; /* rgb */ color: rgb(39, 47, 161); /* oklch */ color: oklch(38.5% 0.180 271.3);
Tailwind
colors: {
custom: {
50: '#7568be',
500: '#272fa1',
950: '#000000',
},
}SCSS
$custom: #272fa1; $custom-light: #7568be; $custom-dark: #000000;
JSON
{
"hex": "#272fa1",
"rgb": {
"r": 39,
"g": 47,
"b": 161
},
"hsl": {
"h": 236.066,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.38459,
"c": 0.17992,
"h": 271.3
},
"luminance": 0.05038
}Semantic roles & 50–950 ramp
primary
#272FA1
secondary
#C0BA63
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81