#2F2D96#2F2D96
#2F2D96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.166 H 275.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D96 |
|---|---|
| RGB | rgb(47, 45, 150) |
| HSL | hsl(241, 54%, 38%) |
| HSV | hsv(241, 70%, 59%) |
| CMYK | cmyk(68.7%, 70%, 0%, 41.2%) |
| CIE-LAB | lab(25.81, 35.32, -57.11) |
| CIE-LCH | lch(25.81, 67.15, 301.74°) |
| OKLab | oklab(37.52% 0.0165 -0.1649) |
| OKLCH | oklch(37.52% 0.166 275.7) |
| XYZ | xyz(7.6139, 4.6824, 29.3508) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 5.50
Indigo Blue
#3A18B1
ΔE00 6.01
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D96 #94962D
analogous
#2D5F96 #2F2D96 #632D96
triadic
#2F2D96 #962F2D #2D962F
tetradic
#2F2D96 #962D5F #94962D #2D9663
square
#2F2D96 #962D5F #94962D #2D9663
split-complementary
#2F2D96 #96632D #5F962D
monochromatic
#111138 #201F67 #2F2D96 #3E3CC4 #6D6BD3
Accessibility & contrast
On white
10.84
#2F2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F2D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D96
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D96 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2d96; /* rgb */ color: rgb(47, 45, 150); /* oklch */ color: oklch(37.5% 0.166 275.7);
Tailwind
colors: {
custom: {
50: '#7667b6',
500: '#2f2d96',
950: '#000000',
},
}SCSS
$custom: #2f2d96; $custom-light: #7667b6; $custom-dark: #000000;
JSON
{
"hex": "#2f2d96",
"rgb": {
"r": 47,
"g": 45,
"b": 150
},
"hsl": {
"h": 241.143,
"s": 53.846,
"l": 38.235
},
"oklch": {
"l": 0.37524,
"c": 0.16575,
"h": 275.7
},
"luminance": 0.04683
}Semantic roles & 50–950 ramp
primary
#2F2D96
secondary
#B8B965
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80