#2F2A75#2F2A75
#2F2A75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.124 H 280.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A75 |
|---|---|
| RGB | rgb(47, 42, 117) |
| HSL | hsl(244, 47%, 31%) |
| HSV | hsv(244, 64%, 46%) |
| CMYK | cmyk(59.8%, 64.1%, 0%, 54.1%) |
| CIE-LAB | lab(22.10, 25.69, -42.49) |
| CIE-LCH | lch(22.10, 49.66, 301.16°) |
| OKLab | oklab(33.91% 0.0225 -0.1221) |
| OKLCH | oklch(33.91% 0.124 280.5) |
| XYZ | xyz(5.2101, 3.5443, 17.2357) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.97
Darkslateblue
#483D8B
ΔE00 6.49
Royal
#0C1793
ΔE00 7.58
Blueberry
#464196
ΔE00 7.91
Marine
#042E60
ΔE00 8.55
Indigo (survey)
#380282
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A75 #70752A
analogous
#2A4A75 #2F2A75 #542A75
triadic
#2F2A75 #752F2A #2A752F
tetradic
#2F2A75 #752A4A #70752A #2A7554
square
#2F2A75 #752A4A #70752A #2A7554
split-complementary
#2F2A75 #75542A #4A752A
monochromatic
#0B0A1B #1D1A48 #2F2A75 #413AA2 #5E57C3
Accessibility & contrast
On white
12.29
#2F2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2F2A75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A75
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A75 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#073C4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2a75; /* rgb */ color: rgb(47, 42, 117); /* oklch */ color: oklch(33.9% 0.124 280.5);
Tailwind
colors: {
custom: {
50: '#6f649d',
500: '#2f2a75',
950: '#000000',
},
}SCSS
$custom: #2f2a75; $custom-light: #6f649d; $custom-dark: #000000;
JSON
{
"hex": "#2f2a75",
"rgb": {
"r": 47,
"g": 42,
"b": 117
},
"hsl": {
"h": 244,
"s": 47.17,
"l": 31.176
},
"oklch": {
"l": 0.33909,
"c": 0.12414,
"h": 280.5
},
"luminance": 0.03545
}Semantic roles & 50–950 ramp
primary
#2F2A75
secondary
#A1A754
accent
#D751CE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E