#272CAC#272CAC
#272CAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.197 H 271.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #272CAC |
|---|---|
| RGB | rgb(39, 44, 172) |
| HSL | hsl(238, 63%, 41%) |
| HSV | hsv(238, 77%, 67%) |
| CMYK | cmyk(77.3%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.33, 42.67, -67.99) |
| CIE-LCH | lch(27.33, 80.27, 302.11°) |
| OKLab | oklab(39.15% 0.0041 -0.1969) |
| OKLCH | oklch(39.15% 0.197 271.2) |
| XYZ | xyz(9.1813, 5.2103, 39.5435) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 4.49
True Blue
#010FCC
ΔE00 5.72
Royal
#0C1793
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272CAC #ACA727
analogous
#276FAC #272CAC #6527AC
triadic
#272CAC #AC272C #2CAC27
tetradic
#272CAC #AC276F #ACA727 #27AC65
square
#272CAC #AC276F #ACA727 #27AC65
split-complementary
#272CAC #AC6527 #6FAC27
monochromatic
#101248 #1C1F7A #272CAC #3D43D3 #6F73DE
Accessibility & contrast
On white
10.28
#272CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#272CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272CAC
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272CAC | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #272cac; /* rgb */ color: rgb(39, 44, 172); /* oklch */ color: oklch(39.1% 0.197 271.2);
Tailwind
colors: {
custom: {
50: '#7867c6',
500: '#272cac',
950: '#000000',
},
}SCSS
$custom: #272cac; $custom-light: #7867c6; $custom-dark: #000000;
JSON
{
"hex": "#272cac",
"rgb": {
"r": 39,
"g": 44,
"b": 172
},
"hsl": {
"h": 237.744,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.39147,
"c": 0.19691,
"h": 271.2
},
"luminance": 0.05211
}Semantic roles & 50–950 ramp
primary
#272CAC
secondary
#C5C26A
accent
#E042E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82