#271C9F#271C9F
#271C9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.196 H 273.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #271C9F |
|---|---|
| RGB | rgb(39, 28, 159) |
| HSL | hsl(245, 70%, 37%) |
| HSV | hsv(245, 82%, 62%) |
| CMYK | cmyk(75.5%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(22.88, 46.96, -67.48) |
| CIE-LCH | lch(22.88, 82.22, 304.83°) |
| OKLab | oklab(35.59% 0.0129 -0.1952) |
| OKLCH | oklch(35.59% 0.196 273.8) |
| XYZ | xyz(7.5079, 3.7643, 33.1251) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 3.08
Indigo Blue
#3A18B1
ΔE00 3.27
Royal Blue (survey)
#0504AA
ΔE00 3.54
Ultramarine
#2000B1
ΔE00 3.75
True Blue
#010FCC
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271C9F #949F1C
analogous
#1C539F #271C9F #691C9F
triadic
#271C9F #9F271C #1C9F27
tetradic
#271C9F #9F1C53 #949F1C #1C9F69
square
#271C9F #9F1C53 #949F1C #1C9F69
split-complementary
#271C9F #9F691C #539F1C
monochromatic
#0D0A37 #1A136B #271C9F #3425D3 #6054E1
Accessibility & contrast
On white
11.98
#271C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#271C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271C9F
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271C9F | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #271c9f; /* rgb */ color: rgb(39, 28, 159); /* oklch */ color: oklch(35.6% 0.196 273.8);
Tailwind
colors: {
custom: {
50: '#775cbd',
500: '#271c9f',
950: '#000000',
},
}SCSS
$custom: #271c9f; $custom-light: #775cbd; $custom-dark: #000000;
JSON
{
"hex": "#271c9f",
"rgb": {
"r": 39,
"g": 28,
"b": 159
},
"hsl": {
"h": 245.038,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.35591,
"c": 0.19561,
"h": 273.8
},
"luminance": 0.03765
}Semantic roles & 50–950 ramp
primary
#271C9F
secondary
#BBC453
accent
#ED3BDE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981