#272BAC#272BAC
#272BAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.198 H 271.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #272BAC |
|---|---|
| RGB | rgb(39, 43, 172) |
| HSL | hsl(238, 63%, 41%) |
| HSV | hsv(238, 77%, 67%) |
| CMYK | cmyk(77.3%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(27.12, 43.25, -68.33) |
| CIE-LCH | lch(27.12, 80.87, 302.33°) |
| OKLab | oklab(39% 0.0045 -0.1978) |
| OKLCH | oklch(39% 0.198 271.3) |
| XYZ | xyz(9.1444, 5.1366, 39.5313) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Indigo Blue
#3A18B1
ΔE00 4.27
True Blue
#010FCC
ΔE00 5.54
Royal
#0C1793
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272BAC #ACA827
analogous
#276EAC #272BAC #6627AC
triadic
#272BAC #AC272B #2BAC27
tetradic
#272BAC #AC276E #ACA827 #27AC66
square
#272BAC #AC276E #ACA827 #27AC66
split-complementary
#272BAC #AC6627 #6EAC27
monochromatic
#101248 #1C1F7A #272BAC #3D42D3 #6F72DE
Accessibility & contrast
On white
10.36
#272BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#272BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272BAC
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272BAC | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #272bac; /* rgb */ color: rgb(39, 43, 172); /* oklch */ color: oklch(39.0% 0.198 271.3);
Tailwind
colors: {
custom: {
50: '#7866c6',
500: '#272bac',
950: '#000000',
},
}SCSS
$custom: #272bac; $custom-light: #7866c6; $custom-dark: #000000;
JSON
{
"hex": "#272bac",
"rgb": {
"r": 39,
"g": 43,
"b": 172
},
"hsl": {
"h": 238.195,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.39001,
"c": 0.19789,
"h": 271.3
},
"luminance": 0.05138
}Semantic roles & 50–950 ramp
primary
#272BAC
secondary
#C5C26A
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82