#272CA9#272CA9
#272CA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.193 H 271.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #272CA9 |
|---|---|
| RGB | rgb(39, 44, 169) |
| HSL | hsl(238, 63%, 41%) |
| HSV | hsv(238, 77%, 66%) |
| CMYK | cmyk(76.9%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(27.01, 41.64, -66.71) |
| CIE-LCH | lch(27.01, 78.64, 301.97°) |
| OKLab | oklab(38.83% 0.0046 -0.1931) |
| OKLCH | oklch(38.83% 0.193 271.3) |
| XYZ | xyz(8.8964, 5.0963, 38.0432) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 5.76
True Blue
#010FCC
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272CA9 #A9A427
analogous
#276DA9 #272CA9 #6327A9
triadic
#272CA9 #A9272C #2CA927
tetradic
#272CA9 #A9276D #A9A427 #27A963
square
#272CA9 #A9276D #A9A427 #27A963
split-complementary
#272CA9 #A96327 #6DA927
monochromatic
#101246 #1C1F77 #272CA9 #3B41D2 #6D71DD
Accessibility & contrast
On white
10.40
#272CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#272CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272CA9
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272CA9 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #272ca9; /* rgb */ color: rgb(39, 44, 169); /* oklch */ color: oklch(38.8% 0.193 271.3);
Tailwind
colors: {
custom: {
50: '#7866c4',
500: '#272ca9',
950: '#000000',
},
}SCSS
$custom: #272ca9; $custom-light: #7866c4; $custom-dark: #000000;
JSON
{
"hex": "#272ca9",
"rgb": {
"r": 39,
"g": 44,
"b": 169
},
"hsl": {
"h": 237.692,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.38826,
"c": 0.19319,
"h": 271.3
},
"luminance": 0.05097
}Semantic roles & 50–950 ramp
primary
#272CA9
secondary
#C4C068
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82