#2F2485#2F2485
#2F2485 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.154 H 279.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2485 |
|---|---|
| RGB | rgb(47, 36, 133) |
| HSL | hsl(247, 57%, 33%) |
| HSV | hsv(247, 73%, 52%) |
| CMYK | cmyk(64.7%, 72.9%, 0%, 47.8%) |
| CIE-LAB | lab(22.16, 35.01, -52.55) |
| CIE-LCH | lch(22.16, 63.14, 303.67°) |
| OKLab | oklab(34.4% 0.0259 -0.1516) |
| OKLCH | oklch(34.4% 0.154 279.7) |
| XYZ | xyz(6.0355, 3.5591, 22.5547) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.41
Midnight Blue
#191970
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 6.88
Darkblue
#00008B
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2485 #7A8524
analogous
#244985 #2F2485 #5F2485
triadic
#2F2485 #852F24 #24852F
tetradic
#2F2485 #852449 #7A8524 #24855F
square
#2F2485 #852449 #7A8524 #24855F
split-complementary
#2F2485 #855F24 #498524
monochromatic
#0D0A25 #1E1755 #2F2485 #4031B5 #6153D0
Accessibility & contrast
On white
12.27
#2F2485 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2F2485 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2485
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2485 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2485 | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2485; /* rgb */ color: rgb(47, 36, 133); /* oklch */ color: oklch(34.4% 0.154 279.7);
Tailwind
colors: {
custom: {
50: '#7360a9',
500: '#2f2485',
950: '#000000',
},
}SCSS
$custom: #2f2485; $custom-light: #7360a9; $custom-dark: #000000;
JSON
{
"hex": "#2f2485",
"rgb": {
"r": 47,
"g": 36,
"b": 133
},
"hsl": {
"h": 246.804,
"s": 57.396,
"l": 33.137
},
"oklch": {
"l": 0.344,
"c": 0.15378,
"h": 279.7
},
"luminance": 0.0356
}Semantic roles & 50–950 ramp
primary
#2F2485
secondary
#A9B450
accent
#E147CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F