#2F2A77#2F2A77
#2F2A77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.127 H 280.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A77 |
|---|---|
| RGB | rgb(47, 42, 119) |
| HSL | hsl(244, 48%, 32%) |
| HSV | hsv(244, 65%, 47%) |
| CMYK | cmyk(60.5%, 64.7%, 0%, 53.3%) |
| CIE-LAB | lab(22.27, 26.40, -43.50) |
| CIE-LCH | lch(22.27, 50.88, 301.25°) |
| OKLab | oklab(34.09% 0.0224 -0.125) |
| OKLCH | oklch(34.09% 0.127 280.2) |
| XYZ | xyz(5.3290, 3.5918, 17.8617) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 6.39
Royal
#0C1793
ΔE00 7.28
Blueberry
#464196
ΔE00 7.75
Indigo (survey)
#380282
ΔE00 8.64
Marine
#042E60
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A77 #72772A
analogous
#2A4C77 #2F2A77 #562A77
triadic
#2F2A77 #772F2A #2A772F
tetradic
#2F2A77 #772A4C #72772A #2A7756
square
#2F2A77 #772A4C #72772A #2A7756
split-complementary
#2F2A77 #77562A #4C772A
monochromatic
#0B0A1D #1D1A4A #2F2A77 #413AA4 #5F58C4
Accessibility & contrast
On white
12.22
#2F2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F2A77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A77
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A77 | 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)
#003879
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#033D4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2a77; /* rgb */ color: rgb(47, 42, 119); /* oklch */ color: oklch(34.1% 0.127 280.2);
Tailwind
colors: {
custom: {
50: '#70649f',
500: '#2f2a77',
950: '#000000',
},
}SCSS
$custom: #2f2a77; $custom-light: #70649f; $custom-dark: #000000;
JSON
{
"hex": "#2f2a77",
"rgb": {
"r": 47,
"g": 42,
"b": 119
},
"hsl": {
"h": 243.896,
"s": 47.826,
"l": 31.569
},
"oklch": {
"l": 0.34087,
"c": 0.12702,
"h": 280.2
},
"luminance": 0.03592
}Semantic roles & 50–950 ramp
primary
#2F2A77
secondary
#A3A954
accent
#D750CF
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E