#2F2F7E#2F2F7E
#2F2F7E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.130 H 277.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F7E |
|---|---|
| RGB | rgb(47, 47, 126) |
| HSL | hsl(240, 46%, 34%) |
| HSV | hsv(240, 63%, 49%) |
| CMYK | cmyk(62.7%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(24.14, 25.55, -44.90) |
| CIE-LCH | lch(24.14, 51.66, 299.65°) |
| OKLab | oklab(35.64% 0.017 -0.1291) |
| OKLCH | oklch(35.64% 0.13 277.5) |
| XYZ | xyz(5.9535, 4.1433, 20.2206) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.31
Midnight Blue
#191970
ΔE00 6.20
Blueberry
#464196
ΔE00 6.31
Sapphire (survey)
#2138AB
ΔE00 7.17
Royal
#0C1793
ΔE00 7.57
Marine
#042E60
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F7E #7E7E2F
analogous
#2F577E #2F2F7E #572F7E
triadic
#2F2F7E #7E2F2F #2F7E2F
tetradic
#2F2F7E #7E2F57 #7E7E2F #2F7E57
square
#2F2F7E #7E2F57 #7E7E2F #2F7E57
split-complementary
#2F2F7E #7E572F #577E2F
monochromatic
#0E0E25 #1E1E51 #2F2F7E #4040AB #6363C5
Accessibility & contrast
On white
11.48
#2F2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F2F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F7E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F7E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f2f7e; /* rgb */ color: rgb(47, 47, 126); /* oklch */ color: oklch(35.6% 0.130 277.5);
Tailwind
colors: {
custom: {
50: '#7167a4',
500: '#2f2f7e',
950: '#000000',
},
}SCSS
$custom: #2f2f7e; $custom-light: #7167a4; $custom-dark: #000000;
JSON
{
"hex": "#2f2f7e",
"rgb": {
"r": 47,
"g": 47,
"b": 126
},
"hsl": {
"h": 240,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.35642,
"c": 0.13024,
"h": 277.5
},
"luminance": 0.04144
}Semantic roles & 50–950 ramp
primary
#2F2F7E
secondary
#ACAC5D
accent
#D552D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F