#2F2386#2F2386
#2F2386 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.156 H 279.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2386 |
|---|---|
| RGB | rgb(47, 35, 134) |
| HSL | hsl(247, 59%, 33%) |
| HSV | hsv(247, 74%, 53%) |
| CMYK | cmyk(64.9%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(22.04, 35.94, -53.37) |
| CIE-LCH | lch(22.04, 64.34, 303.96°) |
| OKLab | oklab(34.35% 0.0265 -0.154) |
| OKLCH | oklch(34.35% 0.156 279.7) |
| XYZ | xyz(6.0750, 3.5272, 22.9103) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.16
Midnight Blue
#191970
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 6.63
Darkblue
#00008B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2386 #7A8623
analogous
#234886 #2F2386 #602386
triadic
#2F2386 #862F23 #23862F
tetradic
#2F2386 #862348 #7A8623 #238660
square
#2F2386 #862348 #7A8623 #238660
split-complementary
#2F2386 #866023 #488623
monochromatic
#0D0A25 #1E1655 #2F2386 #4030B7 #6152D2
Accessibility & contrast
On white
12.31
#2F2386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2F2386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2386
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2386 | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2386; /* rgb */ color: rgb(47, 35, 134); /* oklch */ color: oklch(34.3% 0.156 279.7);
Tailwind
colors: {
custom: {
50: '#735faa',
500: '#2f2386',
950: '#000000',
},
}SCSS
$custom: #2f2386; $custom-light: #735faa; $custom-dark: #000000;
JSON
{
"hex": "#2f2386",
"rgb": {
"r": 47,
"g": 35,
"b": 134
},
"hsl": {
"h": 247.273,
"s": 58.58,
"l": 33.137
},
"oklch": {
"l": 0.34348,
"c": 0.15623,
"h": 279.7
},
"luminance": 0.03528
}Semantic roles & 50–950 ramp
primary
#2F2386
secondary
#A9B54F
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F