#2F2F90#2F2F90
#2F2F90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.155 H 275.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F90 |
|---|---|
| RGB | rgb(47, 47, 144) |
| HSL | hsl(240, 51%, 37%) |
| HSV | hsv(240, 67%, 56%) |
| CMYK | cmyk(67.4%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.71, 31.96, -53.57) |
| CIE-LCH | lch(25.71, 62.38, 300.82°) |
| OKLab | oklab(37.28% 0.0157 -0.1546) |
| OKLCH | oklch(37.28% 0.155 275.8) |
| XYZ | xyz(7.2212, 4.6504, 26.8972) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.52
Blueberry
#464196
ΔE00 5.66
Royal
#0C1793
ΔE00 6.14
Midnight Blue
#191970
ΔE00 7.12
Indigo Blue
#3A18B1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F90 #90902F
analogous
#2F6090 #2F2F90 #602F90
triadic
#2F2F90 #902F2F #2F902F
tetradic
#2F2F90 #902F60 #90902F #2F9060
square
#2F2F90 #902F60 #90902F #2F9060
split-complementary
#2F2F90 #90602F #60902F
monochromatic
#111134 #202062 #2F2F90 #3E3EBE #6B6BCF
Accessibility & contrast
On white
10.88
#2F2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F90
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F90 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2f90; /* rgb */ color: rgb(47, 47, 144); /* oklch */ color: oklch(37.3% 0.155 275.8);
Tailwind
colors: {
custom: {
50: '#7468b1',
500: '#2f2f90',
950: '#000000',
},
}SCSS
$custom: #2f2f90; $custom-light: #7468b1; $custom-dark: #000000;
JSON
{
"hex": "#2f2f90",
"rgb": {
"r": 47,
"g": 47,
"b": 144
},
"hsl": {
"h": 240,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.37283,
"c": 0.15536,
"h": 275.8
},
"luminance": 0.04651
}Semantic roles & 50–950 ramp
primary
#2F2F90
secondary
#B6B665
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80