#2F2B74#2F2B74
#2F2B74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.121 H 280.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B74 |
|---|---|
| RGB | rgb(47, 43, 116) |
| HSL | hsl(243, 46%, 31%) |
| HSV | hsv(243, 63%, 45%) |
| CMYK | cmyk(59.5%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(22.28, 24.68, -41.57) |
| CIE-LCH | lch(22.28, 48.35, 300.69°) |
| OKLab | oklab(34.01% 0.0215 -0.1194) |
| OKLCH | oklch(34.01% 0.121 280.2) |
| XYZ | xyz(5.1876, 3.5927, 16.9397) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.39
Blueberry
#464196
ΔE00 7.83
Royal
#0C1793
ΔE00 7.95
Marine
#042E60
ΔE00 8.29
Sapphire (survey)
#2138AB
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B74 #70742B
analogous
#2B4B74 #2F2B74 #532B74
triadic
#2F2B74 #742F2B #2B742F
tetradic
#2F2B74 #742B4B #70742B #2B7453
square
#2F2B74 #742B4B #70742B #2B7453
split-complementary
#2F2B74 #74532B #4B742B
monochromatic
#0B0A1B #1D1A47 #2F2B74 #413CA1 #5E58C1
Accessibility & contrast
On white
12.22
#2F2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B74
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B74 | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#093D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2b74; /* rgb */ color: rgb(47, 43, 116); /* oklch */ color: oklch(34.0% 0.121 280.2);
Tailwind
colors: {
custom: {
50: '#6f649d',
500: '#2f2b74',
950: '#000000',
},
}SCSS
$custom: #2f2b74; $custom-light: #6f649d; $custom-dark: #000000;
JSON
{
"hex": "#2f2b74",
"rgb": {
"r": 47,
"g": 43,
"b": 116
},
"hsl": {
"h": 243.288,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.3401,
"c": 0.1213,
"h": 280.2
},
"luminance": 0.03593
}Semantic roles & 50–950 ramp
primary
#2F2B74
secondary
#A1A655
accent
#D652CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E