#2F2D9F#2F2D9F
#2F2D9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.177 H 274.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D9F |
|---|---|
| RGB | rgb(47, 45, 159) |
| HSL | hsl(241, 56%, 40%) |
| HSV | hsv(241, 72%, 62%) |
| CMYK | cmyk(70.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.69, 38.42, -61.17) |
| CIE-LCH | lch(26.69, 72.24, 302.13°) |
| OKLab | oklab(38.42% 0.0151 -0.1768) |
| OKLCH | oklch(38.42% 0.177 274.9) |
| XYZ | xyz(8.3666, 4.9835, 33.3152) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 5.12
Royal
#0C1793
ΔE00 5.63
Blueberry
#464196
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D9F #9D9F2D
analogous
#2D649F #2F2D9F #682D9F
triadic
#2F2D9F #9F2F2D #2D9F2F
tetradic
#2F2D9F #9F2D64 #9D9F2D #2D9F68
square
#2F2D9F #9F2D64 #9D9F2D #2D9F68
split-complementary
#2F2D9F #9F682D #649F2D
monochromatic
#131240 #21206F #2F2D9F #4340C9 #7270D6
Accessibility & contrast
On white
10.52
#2F2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D9F
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D9F | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2d9f; /* rgb */ color: rgb(47, 45, 159); /* oklch */ color: oklch(38.4% 0.177 274.9);
Tailwind
colors: {
custom: {
50: '#7867bc',
500: '#2f2d9f',
950: '#000000',
},
}SCSS
$custom: #2f2d9f; $custom-light: #7867bc; $custom-dark: #000000;
JSON
{
"hex": "#2f2d9f",
"rgb": {
"r": 47,
"g": 45,
"b": 159
},
"hsl": {
"h": 241.053,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38421,
"c": 0.17744,
"h": 274.9
},
"luminance": 0.04984
}Semantic roles & 50–950 ramp
primary
#2F2D9F
secondary
#BCBE6A
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81