#2F2F83#2F2F83
#2F2F83 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.137 H 277.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F83 |
|---|---|
| RGB | rgb(47, 47, 131) |
| HSL | hsl(240, 47%, 35%) |
| HSV | hsv(240, 64%, 51%) |
| CMYK | cmyk(64.1%, 64.1%, 0%, 48.6%) |
| CIE-LAB | lab(24.56, 27.34, -47.36) |
| CIE-LCH | lch(24.56, 54.68, 300.00°) |
| OKLab | oklab(36.09% 0.0168 -0.1363) |
| OKLCH | oklch(36.09% 0.137 277) |
| XYZ | xyz(6.2842, 4.2756, 21.9624) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.30
Sapphire (survey)
#2138AB
ΔE00 6.42
Royal
#0C1793
ΔE00 7.03
Marine
#042E60
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F83 #83832F
analogous
#2F5983 #2F2F83 #592F83
triadic
#2F2F83 #832F2F #2F832F
tetradic
#2F2F83 #832F59 #83832F #2F8359
square
#2F2F83 #832F59 #83832F #2F8359
split-complementary
#2F2F83 #83592F #59832F
monochromatic
#0F0F29 #1F1F56 #2F2F83 #3F3FB0 #6565C8
Accessibility & contrast
On white
11.32
#2F2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2F2F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F83
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F83 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2f83; /* rgb */ color: rgb(47, 47, 131); /* oklch */ color: oklch(36.1% 0.137 277.0);
Tailwind
colors: {
custom: {
50: '#7267a8',
500: '#2f2f83',
950: '#000000',
},
}SCSS
$custom: #2f2f83; $custom-light: #7267a8; $custom-dark: #000000;
JSON
{
"hex": "#2f2f83",
"rgb": {
"r": 47,
"g": 47,
"b": 131
},
"hsl": {
"h": 240,
"s": 47.191,
"l": 34.902
},
"oklch": {
"l": 0.36085,
"c": 0.13737,
"h": 277
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#2F2F83
secondary
#AFAF5F
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F