#2F2F93#2F2F93
#2F2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.159 H 275.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F93 |
|---|---|
| RGB | rgb(47, 47, 147) |
| HSL | hsl(240, 52%, 38%) |
| HSV | hsv(240, 68%, 58%) |
| CMYK | cmyk(68%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.99, 33.02, -54.97) |
| CIE-LCH | lch(25.99, 64.12, 300.99°) |
| OKLab | oklab(37.57% 0.0154 -0.1587) |
| OKLCH | oklch(37.57% 0.159 275.5) |
| XYZ | xyz(7.4535, 4.7433, 28.1209) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 5.67
Blueberry
#464196
ΔE00 5.67
Royal
#0C1793
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.79
Midnight Blue
#191970
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F93 #93932F
analogous
#2F6193 #2F2F93 #612F93
triadic
#2F2F93 #932F2F #2F932F
tetradic
#2F2F93 #932F61 #93932F #2F9361
square
#2F2F93 #932F61 #93932F #2F9361
split-complementary
#2F2F93 #93612F #61932F
monochromatic
#111136 #202065 #2F2F93 #3E3EC1 #6C6CD0
Accessibility & contrast
On white
10.78
#2F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F93
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F93 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2f93; /* rgb */ color: rgb(47, 47, 147); /* oklch */ color: oklch(37.6% 0.159 275.5);
Tailwind
colors: {
custom: {
50: '#7568b4',
500: '#2f2f93',
950: '#000000',
},
}SCSS
$custom: #2f2f93; $custom-light: #7568b4; $custom-dark: #000000;
JSON
{
"hex": "#2f2f93",
"rgb": {
"r": 47,
"g": 47,
"b": 147
},
"hsl": {
"h": 240,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.37568,
"c": 0.1594,
"h": 275.5
},
"luminance": 0.04744
}Semantic roles & 50–950 ramp
primary
#2F2F93
secondary
#B7B766
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80