#2F2483#2F2483
#2F2483 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.151 H 280.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2483 |
|---|---|
| RGB | rgb(47, 36, 131) |
| HSL | hsl(247, 57%, 33%) |
| HSV | hsv(247, 73%, 51%) |
| CMYK | cmyk(64.1%, 72.5%, 0%, 48.6%) |
| CIE-LAB | lab(21.96, 34.34, -51.62) |
| CIE-LCH | lch(21.96, 61.99, 303.63°) |
| OKLab | oklab(34.2% 0.0263 -0.1488) |
| OKLCH | oklch(34.2% 0.151 280) |
| XYZ | xyz(5.8986, 3.5043, 21.8339) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.28
Royal
#0C1793
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.19
Darkblue
#00008B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2483 #788324
analogous
#244983 #2F2483 #5E2483
triadic
#2F2483 #832F24 #24832F
tetradic
#2F2483 #832449 #788324 #24835E
square
#2F2483 #832449 #788324 #24835E
split-complementary
#2F2483 #835E24 #498324
monochromatic
#0D0A23 #1E1753 #2F2483 #4031B3 #6052CF
Accessibility & contrast
On white
12.35
#2F2483 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2F2483 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2483
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2483 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2483 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2483; /* rgb */ color: rgb(47, 36, 131); /* oklch */ color: oklch(34.2% 0.151 280.0);
Tailwind
colors: {
custom: {
50: '#7360a8',
500: '#2f2483',
950: '#000000',
},
}SCSS
$custom: #2f2483; $custom-light: #7360a8; $custom-dark: #000000;
JSON
{
"hex": "#2f2483",
"rgb": {
"r": 47,
"g": 36,
"b": 131
},
"hsl": {
"h": 246.947,
"s": 56.886,
"l": 32.745
},
"oklch": {
"l": 0.34199,
"c": 0.15115,
"h": 280
},
"luminance": 0.03505
}Semantic roles & 50–950 ramp
primary
#2F2483
secondary
#A8B34F
accent
#E048CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F