#2F2F92#2F2F92
#2F2F92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.158 H 275.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F92 |
|---|---|
| RGB | rgb(47, 47, 146) |
| HSL | hsl(240, 51%, 38%) |
| HSV | hsv(240, 68%, 57%) |
| CMYK | cmyk(67.8%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.90, 32.67, -54.50) |
| CIE-LCH | lch(25.90, 63.55, 300.94°) |
| OKLab | oklab(37.47% 0.0155 -0.1573) |
| OKLCH | oklch(37.47% 0.158 275.6) |
| XYZ | xyz(7.3754, 4.7120, 27.7094) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 5.62
Blueberry
#464196
ΔE00 5.67
Royal
#0C1793
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F92 #92922F
analogous
#2F6092 #2F2F92 #602F92
triadic
#2F2F92 #922F2F #2F922F
tetradic
#2F2F92 #922F60 #92922F #2F9260
square
#2F2F92 #922F60 #92922F #2F9260
split-complementary
#2F2F92 #92602F #60922F
monochromatic
#111135 #202064 #2F2F92 #3E3EC0 #6C6CD0
Accessibility & contrast
On white
10.81
#2F2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F92
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F92 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2f92; /* rgb */ color: rgb(47, 47, 146); /* oklch */ color: oklch(37.5% 0.158 275.6);
Tailwind
colors: {
custom: {
50: '#7568b3',
500: '#2f2f92',
950: '#000000',
},
}SCSS
$custom: #2f2f92; $custom-light: #7568b3; $custom-dark: #000000;
JSON
{
"hex": "#2f2f92",
"rgb": {
"r": 47,
"g": 47,
"b": 146
},
"hsl": {
"h": 240,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.37473,
"c": 0.15806,
"h": 275.6
},
"luminance": 0.04713
}Semantic roles & 50–950 ramp
primary
#2F2F92
secondary
#B7B766
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80