#2F2986#2F2986
#2F2986 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.149 H 278.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2986 |
|---|---|
| RGB | rgb(47, 41, 134) |
| HSL | hsl(244, 53%, 34%) |
| HSV | hsv(244, 69%, 53%) |
| CMYK | cmyk(64.9%, 69.4%, 0%, 47.5%) |
| CIE-LAB | lab(23.37, 32.28, -51.18) |
| CIE-LCH | lch(23.37, 60.51, 302.24°) |
| OKLab | oklab(35.3% 0.0217 -0.1476) |
| OKLCH | oklch(35.3% 0.149 278.4) |
| XYZ | xyz(6.2669, 3.9109, 22.9743) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Royal
#0C1793
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.79
Blueberry
#464196
ΔE00 7.17
Indigo Blue
#3A18B1
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2986 #808629
analogous
#295286 #2F2986 #5E2986
triadic
#2F2986 #862F29 #29862F
tetradic
#2F2986 #862952 #808629 #29865E
square
#2F2986 #862952 #808629 #29865E
split-complementary
#2F2986 #865E29 #528629
monochromatic
#0E0C28 #1F1B57 #2F2986 #3F37B5 #635CCD
Accessibility & contrast
On white
11.78
#2F2986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2986
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2986 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2986; /* rgb */ color: rgb(47, 41, 134); /* oklch */ color: oklch(35.3% 0.149 278.4);
Tailwind
colors: {
custom: {
50: '#7363aa',
500: '#2f2986',
950: '#000000',
},
}SCSS
$custom: #2f2986; $custom-light: #7363aa; $custom-dark: #000000;
JSON
{
"hex": "#2f2986",
"rgb": {
"r": 47,
"g": 41,
"b": 134
},
"hsl": {
"h": 243.871,
"s": 53.143,
"l": 34.314
},
"oklch": {
"l": 0.35304,
"c": 0.14917,
"h": 278.4
},
"luminance": 0.03911
}Semantic roles & 50–950 ramp
primary
#2F2986
secondary
#ADB358
accent
#DD4BD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F