#272AAC#272AAC
#272AAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.199 H 271.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #272AAC |
|---|---|
| RGB | rgb(39, 42, 172) |
| HSL | hsl(239, 63%, 41%) |
| HSV | hsv(239, 77%, 67%) |
| CMYK | cmyk(77.3%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(26.92, 43.81, -68.67) |
| CIE-LCH | lch(26.92, 81.45, 302.54°) |
| OKLab | oklab(38.86% 0.0049 -0.1988) |
| OKLCH | oklch(38.86% 0.199 271.4) |
| XYZ | xyz(9.1085, 5.0648, 39.5193) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Indigo Blue
#3A18B1
ΔE00 4.06
True Blue
#010FCC
ΔE00 5.36
Royal
#0C1793
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.84
Ultramarine
#2000B1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272AAC #ACA927
analogous
#276DAC #272AAC #6727AC
triadic
#272AAC #AC272A #2AAC27
tetradic
#272AAC #AC276D #ACA927 #27AC67
square
#272AAC #AC276D #ACA927 #27AC67
split-complementary
#272AAC #AC6727 #6DAC27
monochromatic
#101248 #1C1E7A #272AAC #3D41D3 #6F72DE
Accessibility & contrast
On white
10.43
#272AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#272AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272AAC
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272AAC | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #272aac; /* rgb */ color: rgb(39, 42, 172); /* oklch */ color: oklch(38.9% 0.199 271.4);
Tailwind
colors: {
custom: {
50: '#7965c6',
500: '#272aac',
950: '#000000',
},
}SCSS
$custom: #272aac; $custom-light: #7965c6; $custom-dark: #000000;
JSON
{
"hex": "#272aac",
"rgb": {
"r": 39,
"g": 42,
"b": 172
},
"hsl": {
"h": 238.647,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.38858,
"c": 0.19886,
"h": 271.4
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#272AAC
secondary
#C5C36A
accent
#E242E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82