#2F2990#2F2990
#2F2990 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.162 H 277.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2990 |
|---|---|
| RGB | rgb(47, 41, 144) |
| HSL | hsl(243, 56%, 36%) |
| HSV | hsv(243, 72%, 56%) |
| CMYK | cmyk(67.4%, 71.5%, 0%, 43.5%) |
| CIE-LAB | lab(24.33, 35.71, -55.84) |
| CIE-LCH | lch(24.33, 66.28, 302.60°) |
| OKLab | oklab(36.29% 0.0202 -0.1612) |
| OKLCH | oklch(36.29% 0.162 277.1) |
| XYZ | xyz(6.9976, 4.2032, 26.8227) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 5.75
Indigo Blue
#3A18B1
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.65
Cobalt Blue
#030AA7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2990 #8A9029
analogous
#295790 #2F2990 #632990
triadic
#2F2990 #902F29 #29902F
tetradic
#2F2990 #902957 #8A9029 #299063
square
#2F2990 #902957 #8A9029 #299063
split-complementary
#2F2990 #906329 #579029
monochromatic
#100E31 #1F1B60 #2F2990 #3F37C0 #6861D2
Accessibility & contrast
On white
11.41
#2F2990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F2990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2990
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2990 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2990; /* rgb */ color: rgb(47, 41, 144); /* oklch */ color: oklch(36.3% 0.162 277.1);
Tailwind
colors: {
custom: {
50: '#7564b2',
500: '#2f2990',
950: '#000000',
},
}SCSS
$custom: #2f2990; $custom-light: #7564b2; $custom-dark: #000000;
JSON
{
"hex": "#2f2990",
"rgb": {
"r": 47,
"g": 41,
"b": 144
},
"hsl": {
"h": 243.495,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.36285,
"c": 0.16247,
"h": 277.1
},
"luminance": 0.04204
}Semantic roles & 50–950 ramp
primary
#2F2990
secondary
#B3B85D
accent
#DF49D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80