#272FA3#272FA3
#272FA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.182 H 271.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #272FA3 |
|---|---|
| RGB | rgb(39, 47, 163) |
| HSL | hsl(236, 61%, 40%) |
| HSV | hsv(236, 76%, 64%) |
| CMYK | cmyk(76.1%, 71.2%, 0%, 36.1%) |
| CIE-LAB | lab(27.04, 37.74, -63.04) |
| CIE-LCH | lch(27.04, 73.47, 300.91°) |
| OKLab | oklab(38.66% 0.004 -0.1824) |
| OKLCH | oklch(38.66% 0.182 271.2) |
| XYZ | xyz(8.4618, 5.1078, 35.1832) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Indigo Blue
#3A18B1
ΔE00 5.71
Royal
#0C1793
ΔE00 6.08
Blueberry
#464196
ΔE00 6.51
Blue Blue
#2242C7
ΔE00 6.97
Ocean Blue
#4F42B5
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272FA3 #A39B27
analogous
#276DA3 #272FA3 #5D27A3
triadic
#272FA3 #A3272F #2FA327
tetradic
#272FA3 #A3276D #A39B27 #27A35D
square
#272FA3 #A3276D #A39B27 #27A35D
split-complementary
#272FA3 #A35D27 #6DA327
monochromatic
#0F1340 #1B2172 #272FA3 #3842CF #6971DB
Accessibility & contrast
On white
10.39
#272FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#272FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272FA3
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272FA3 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #272fa3; /* rgb */ color: rgb(39, 47, 163); /* oklch */ color: oklch(38.7% 0.182 271.2);
Tailwind
colors: {
custom: {
50: '#7668bf',
500: '#272fa3',
950: '#000000',
},
}SCSS
$custom: #272fa3; $custom-light: #7668bf; $custom-dark: #000000;
JSON
{
"hex": "#272fa3",
"rgb": {
"r": 39,
"g": 47,
"b": 163
},
"hsl": {
"h": 236.129,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.38664,
"c": 0.18248,
"h": 271.2
},
"luminance": 0.05109
}Semantic roles & 50–950 ramp
primary
#272FA3
secondary
#C1BB64
accent
#DA43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81