#2F2F95#2F2F95
#2F2F95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.162 H 275.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F95 |
|---|---|
| RGB | rgb(47, 47, 149) |
| HSL | hsl(240, 52%, 38%) |
| HSV | hsv(240, 68%, 58%) |
| CMYK | cmyk(68.5%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(26.18, 33.72, -55.89) |
| CIE-LCH | lch(26.18, 65.28, 301.10°) |
| OKLab | oklab(37.76% 0.0151 -0.1614) |
| OKLCH | oklch(37.76% 0.162 275.4) |
| XYZ | xyz(7.6118, 4.8066, 28.9546) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.18
Blueberry
#464196
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.79
Royal
#0C1793
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.56
Midnight Blue
#191970
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F95 #95952F
analogous
#2F6295 #2F2F95 #622F95
triadic
#2F2F95 #952F2F #2F952F
tetradic
#2F2F95 #952F62 #95952F #2F9562
square
#2F2F95 #952F62 #95952F #2F9562
split-complementary
#2F2F95 #95622F #62952F
monochromatic
#121238 #202066 #2F2F95 #3F3FC2 #6D6DD1
Accessibility & contrast
On white
10.71
#2F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F95
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F95 | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2f95; /* rgb */ color: rgb(47, 47, 149); /* oklch */ color: oklch(37.8% 0.162 275.4);
Tailwind
colors: {
custom: {
50: '#7668b5',
500: '#2f2f95',
950: '#000000',
},
}SCSS
$custom: #2f2f95; $custom-light: #7668b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2f95",
"rgb": {
"r": 47,
"g": 47,
"b": 149
},
"hsl": {
"h": 240,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.3776,
"c": 0.16209,
"h": 275.4
},
"luminance": 0.04807
}Semantic roles & 50–950 ramp
primary
#2F2F95
secondary
#B8B867
accent
#DB4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80