#2F2A86#2F2A86
#2F2A86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.148 H 278.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A86 |
|---|---|
| RGB | rgb(47, 42, 134) |
| HSL | hsl(243, 52%, 35%) |
| HSV | hsv(243, 69%, 53%) |
| CMYK | cmyk(64.9%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.61, 31.64, -50.80) |
| CIE-LCH | lch(23.61, 59.85, 301.92°) |
| OKLab | oklab(35.47% 0.0209 -0.1464) |
| OKLCH | oklch(35.47% 0.148 278.1) |
| XYZ | xyz(6.3019, 3.9810, 22.9859) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Royal
#0C1793
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.64
Blueberry
#464196
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A86 #81862A
analogous
#2A5386 #2F2A86 #5D2A86
triadic
#2F2A86 #862F2A #2A862F
tetradic
#2F2A86 #862A53 #81862A #2A865D
square
#2F2A86 #862A53 #81862A #2A865D
split-complementary
#2F2A86 #865D2A #53862A
monochromatic
#0E0D29 #1F1B57 #2F2A86 #3F39B5 #645ECD
Accessibility & contrast
On white
11.69
#2F2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A86
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A86 | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2a86; /* rgb */ color: rgb(47, 42, 134); /* oklch */ color: oklch(35.5% 0.148 278.1);
Tailwind
colors: {
custom: {
50: '#7364aa',
500: '#2f2a86',
950: '#000000',
},
}SCSS
$custom: #2f2a86; $custom-light: #7364aa; $custom-dark: #000000;
JSON
{
"hex": "#2f2a86",
"rgb": {
"r": 47,
"g": 42,
"b": 134
},
"hsl": {
"h": 243.261,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.35473,
"c": 0.14794,
"h": 278.1
},
"luminance": 0.03981
}Semantic roles & 50–950 ramp
primary
#2F2A86
secondary
#ADB25A
accent
#DC4CD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F