#2F2D95#2F2D95
#2F2D95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.164 H 275.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D95 |
|---|---|
| RGB | rgb(47, 45, 149) |
| HSL | hsl(241, 54%, 38%) |
| HSV | hsv(241, 70%, 58%) |
| CMYK | cmyk(68.5%, 69.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.71, 34.98, -56.65) |
| CIE-LCH | lch(25.71, 66.58, 301.69°) |
| OKLab | oklab(37.43% 0.0166 -0.1636) |
| OKLCH | oklch(37.43% 0.164 275.8) |
| XYZ | xyz(7.5337, 4.6504, 28.9285) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Royal
#0C1793
ΔE00 5.50
Indigo Blue
#3A18B1
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.13
Blueberry
#464196
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D95 #93952D
analogous
#2D5F95 #2F2D95 #632D95
triadic
#2F2D95 #952F2D #2D952F
tetradic
#2F2D95 #952D5F #93952D #2D9563
square
#2F2D95 #952D5F #93952D #2D9563
split-complementary
#2F2D95 #95632D #5F952D
monochromatic
#111137 #201F66 #2F2D95 #3E3BC4 #6C6AD2
Accessibility & contrast
On white
10.88
#2F2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F2D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D95
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D95 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2d95; /* rgb */ color: rgb(47, 45, 149); /* oklch */ color: oklch(37.4% 0.164 275.8);
Tailwind
colors: {
custom: {
50: '#7667b5',
500: '#2f2d95',
950: '#000000',
},
}SCSS
$custom: #2f2d95; $custom-light: #7667b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2d95",
"rgb": {
"r": 47,
"g": 45,
"b": 149
},
"hsl": {
"h": 241.154,
"s": 53.608,
"l": 38.039
},
"oklch": {
"l": 0.37426,
"c": 0.16444,
"h": 275.8
},
"luminance": 0.04651
}Semantic roles & 50–950 ramp
primary
#2F2D95
secondary
#B7B965
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80