#272EA1#272EA1
#272EA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.181 H 271.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #272EA1 |
|---|---|
| RGB | rgb(39, 46, 161) |
| HSL | hsl(237, 61%, 39%) |
| HSV | hsv(237, 76%, 63%) |
| CMYK | cmyk(75.8%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.61, 37.65, -62.52) |
| CIE-LCH | lch(26.61, 72.99, 301.06°) |
| OKLab | oklab(38.3% 0.0048 -0.1809) |
| OKLCH | oklch(38.3% 0.181 271.5) |
| XYZ | xyz(8.2445, 4.9577, 34.2337) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 5.63
Royal
#0C1793
ΔE00 5.76
Blueberry
#464196
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.87
True Blue
#010FCC
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272EA1 #A19A27
analogous
#276BA1 #272EA1 #5D27A1
triadic
#272EA1 #A1272E #2EA127
tetradic
#272EA1 #A1276B #A19A27 #27A15D
square
#272EA1 #A1276B #A19A27 #27A15D
split-complementary
#272EA1 #A15D27 #6BA127
monochromatic
#0F123E #1B2070 #272EA1 #373FCE #686FDA
Accessibility & contrast
On white
10.54
#272EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#272EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272EA1
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272EA1 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #272ea1; /* rgb */ color: rgb(39, 46, 161); /* oklch */ color: oklch(38.3% 0.181 271.5);
Tailwind
colors: {
custom: {
50: '#7567be',
500: '#272ea1',
950: '#000000',
},
}SCSS
$custom: #272ea1; $custom-light: #7567be; $custom-dark: #000000;
JSON
{
"hex": "#272ea1",
"rgb": {
"r": 39,
"g": 46,
"b": 161
},
"hsl": {
"h": 236.557,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.38297,
"c": 0.18101,
"h": 271.5
},
"luminance": 0.04959
}Semantic roles & 50–950 ramp
primary
#272EA1
secondary
#C0BB63
accent
#DB44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81