#272FA2#272FA2
#272FA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.181 H 271.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #272FA2 |
|---|---|
| RGB | rgb(39, 47, 162) |
| HSL | hsl(236, 61%, 39%) |
| HSV | hsv(236, 76%, 64%) |
| CMYK | cmyk(75.9%, 71%, 0%, 36.5%) |
| CIE-LAB | lab(26.94, 37.39, -62.60) |
| CIE-LCH | lch(26.94, 72.91, 300.85°) |
| OKLab | oklab(38.56% 0.0041 -0.1812) |
| OKLCH | oklch(38.56% 0.181 271.3) |
| XYZ | xyz(8.3726, 5.0721, 34.7132) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.88
Indigo Blue
#3A18B1
ΔE00 5.79
Royal
#0C1793
ΔE00 6.04
Blueberry
#464196
ΔE00 6.47
Blue Blue
#2242C7
ΔE00 7.06
Cobalt Blue
#030AA7
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272FA2 #A29A27
analogous
#276CA2 #272FA2 #5D27A2
triadic
#272FA2 #A2272F #2FA227
tetradic
#272FA2 #A2276C #A29A27 #27A25D
square
#272FA2 #A2276C #A29A27 #27A25D
split-complementary
#272FA2 #A25D27 #6CA227
monochromatic
#0F123F #1B2171 #272FA2 #3741CF #6970DB
Accessibility & contrast
On white
10.42
#272FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#272FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272FA2
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272FA2 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #272fa2; /* rgb */ color: rgb(39, 47, 162); /* oklch */ color: oklch(38.6% 0.181 271.3);
Tailwind
colors: {
custom: {
50: '#7668bf',
500: '#272fa2',
950: '#000000',
},
}SCSS
$custom: #272fa2; $custom-light: #7668bf; $custom-dark: #000000;
JSON
{
"hex": "#272fa2",
"rgb": {
"r": 39,
"g": 47,
"b": 162
},
"hsl": {
"h": 236.098,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.38561,
"c": 0.18121,
"h": 271.3
},
"luminance": 0.05073
}Semantic roles & 50–950 ramp
primary
#272FA2
secondary
#C1BB64
accent
#DA43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81