#2F27AB#2F27AB
#2F27AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.198 H 274.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F27AB |
|---|---|
| RGB | rgb(47, 39, 171) |
| HSL | hsl(244, 63%, 41%) |
| HSV | hsv(244, 77%, 67%) |
| CMYK | cmyk(72.5%, 77.2%, 0%, 32.9%) |
| CIE-LAB | lab(26.72, 45.82, -68.38) |
| CIE-LCH | lch(26.72, 82.31, 303.83°) |
| OKLab | oklab(38.82% 0.016 -0.1978) |
| OKLCH | oklch(38.82% 0.198 274.6) |
| XYZ | xyz(9.2461, 4.9947, 38.9970) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
Sapphire (survey)
#2138AB
ΔE00 4.97
True Blue
#010FCC
ΔE00 5.04
Ultramarine
#2000B1
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 5.36
Royal
#0C1793
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F27AB #A3AB27
analogous
#2761AB #2F27AB #7127AB
triadic
#2F27AB #AB2F27 #27AB2F
tetradic
#2F27AB #AB2761 #A3AB27 #27AB71
square
#2F27AB #AB2761 #A3AB27 #27AB71
split-complementary
#2F27AB #AB7127 #61AB27
monochromatic
#141047 #211C79 #2F27AB #463DD3 #756EDE
Accessibility & contrast
On white
10.50
#2F27AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F27AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F27AB
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F27AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F27AB | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f27ab; /* rgb */ color: rgb(47, 39, 171); /* oklch */ color: oklch(38.8% 0.198 274.6);
Tailwind
colors: {
custom: {
50: '#7b64c5',
500: '#2f27ab',
950: '#000000',
},
}SCSS
$custom: #2f27ab; $custom-light: #7b64c5; $custom-dark: #000000;
JSON
{
"hex": "#2f27ab",
"rgb": {
"r": 47,
"g": 39,
"b": 171
},
"hsl": {
"h": 243.636,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.38816,
"c": 0.19841,
"h": 274.6
},
"luminance": 0.04996
}Semantic roles & 50–950 ramp
primary
#2F27AB
secondary
#BFC569
accent
#E642DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82