#271C9A#271C9A
#271C9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.190 H 274.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #271C9A |
|---|---|
| RGB | rgb(39, 28, 154) |
| HSL | hsl(245, 69%, 36%) |
| HSV | hsv(245, 82%, 60%) |
| CMYK | cmyk(74.7%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(22.28, 45.40, -65.41) |
| CIE-LCH | lch(22.28, 79.62, 304.76°) |
| OKLab | oklab(35.01% 0.0142 -0.1892) |
| OKLCH | oklch(35.01% 0.19 274.3) |
| XYZ | xyz(7.0828, 3.5942, 30.8861) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.32
Cobalt Blue
#030AA7
ΔE00 3.31
Royal Blue (survey)
#0504AA
ΔE00 3.81
Indigo Blue
#3A18B1
ΔE00 3.86
Ultramarine
#2000B1
ΔE00 4.18
Darkblue
#00008B
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271C9A #8F9A1C
analogous
#1C509A #271C9A #661C9A
triadic
#271C9A #9A271C #1C9A27
tetradic
#271C9A #9A1C50 #8F9A1C #1C9A66
square
#271C9A #9A1C50 #8F9A1C #1C9A66
split-complementary
#271C9A #9A661C #509A1C
monochromatic
#0D0932 #1A1366 #271C9A #3425CE #5D51DF
Accessibility & contrast
On white
12.22
#271C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#271C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271C9A
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271C9A | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #271c9a; /* rgb */ color: rgb(39, 28, 154); /* oklch */ color: oklch(35.0% 0.190 274.3);
Tailwind
colors: {
custom: {
50: '#755cb9',
500: '#271c9a',
950: '#000000',
},
}SCSS
$custom: #271c9a; $custom-light: #755cb9; $custom-dark: #000000;
JSON
{
"hex": "#271c9a",
"rgb": {
"r": 39,
"g": 28,
"b": 154
},
"hsl": {
"h": 245.238,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.35007,
"c": 0.1897,
"h": 274.3
},
"luminance": 0.03595
}Semantic roles & 50–950 ramp
primary
#271C9A
secondary
#B8C250
accent
#EC3CDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981