#2F2F96#2F2F96
#2F2F96 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.163 H 275.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F96 |
|---|---|
| RGB | rgb(47, 47, 150) |
| HSL | hsl(240, 52%, 39%) |
| HSV | hsv(240, 69%, 59%) |
| CMYK | cmyk(68.7%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.27, 34.07, -56.35) |
| CIE-LCH | lch(26.27, 65.86, 301.16°) |
| OKLab | oklab(37.86% 0.015 -0.1627) |
| OKLCH | oklch(37.86% 0.163 275.3) |
| XYZ | xyz(7.6920, 4.8387, 29.3768) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Blueberry
#464196
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 5.85
Royal
#0C1793
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F96 #96962F
analogous
#2F6296 #2F2F96 #622F96
triadic
#2F2F96 #962F2F #2F962F
tetradic
#2F2F96 #962F62 #96962F #2F9662
square
#2F2F96 #962F62 #96962F #2F9662
split-complementary
#2F2F96 #96622F #62962F
monochromatic
#121239 #202067 #2F2F96 #3F3FC3 #6E6ED2
Accessibility & contrast
On white
10.67
#2F2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F96
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F96 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2f96; /* rgb */ color: rgb(47, 47, 150); /* oklch */ color: oklch(37.9% 0.163 275.3);
Tailwind
colors: {
custom: {
50: '#7668b6',
500: '#2f2f96',
950: '#000000',
},
}SCSS
$custom: #2f2f96; $custom-light: #7668b6; $custom-dark: #000000;
JSON
{
"hex": "#2f2f96",
"rgb": {
"r": 47,
"g": 47,
"b": 150
},
"hsl": {
"h": 240,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.37857,
"c": 0.16341,
"h": 275.3
},
"luminance": 0.04839
}Semantic roles & 50–950 ramp
primary
#2F2F96
secondary
#B9B968
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80