#2F27AC#2F27AC
#2F27AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.200 H 274.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F27AC |
|---|---|
| RGB | rgb(47, 39, 172) |
| HSL | hsl(244, 63%, 41%) |
| HSV | hsv(244, 77%, 67%) |
| CMYK | cmyk(72.7%, 77.3%, 0%, 32.5%) |
| CIE-LAB | lab(26.83, 46.14, -68.80) |
| CIE-LCH | lch(26.83, 82.84, 303.85°) |
| OKLab | oklab(38.92% 0.0158 -0.199) |
| OKLCH | oklch(38.92% 0.2 274.5) |
| XYZ | xyz(9.3417, 5.0330, 39.5009) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.02
True Blue
#010FCC
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 4.97
Ultramarine
#2000B1
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 5.39
Royal
#0C1793
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F27AC #A4AC27
analogous
#2762AC #2F27AC #7227AC
triadic
#2F27AC #AC2F27 #27AC2F
tetradic
#2F27AC #AC2762 #A4AC27 #27AC72
square
#2F27AC #AC2762 #A4AC27 #27AC72
split-complementary
#2F27AC #AC7227 #62AC27
monochromatic
#141048 #211C7A #2F27AC #463DD3 #766FDE
Accessibility & contrast
On white
10.46
#2F27AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F27AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F27AC
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F27AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F27AC | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f27ac; /* rgb */ color: rgb(47, 39, 172); /* oklch */ color: oklch(38.9% 0.200 274.5);
Tailwind
colors: {
custom: {
50: '#7c64c6',
500: '#2f27ac',
950: '#000000',
},
}SCSS
$custom: #2f27ac; $custom-light: #7c64c6; $custom-dark: #000000;
JSON
{
"hex": "#2f27ac",
"rgb": {
"r": 47,
"g": 39,
"b": 172
},
"hsl": {
"h": 243.609,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.38925,
"c": 0.19961,
"h": 274.5
},
"luminance": 0.05034
}Semantic roles & 50–950 ramp
primary
#2F27AC
secondary
#C0C56A
accent
#E642DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82