#2F2283#2F2283
#2F2283 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.153 H 280.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2283 |
|---|---|
| RGB | rgb(47, 34, 131) |
| HSL | hsl(248, 59%, 32%) |
| HSV | hsv(248, 74%, 51%) |
| CMYK | cmyk(64.1%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(21.53, 35.53, -52.32) |
| CIE-LCH | lch(21.53, 63.25, 304.18°) |
| OKLab | oklab(33.89% 0.0278 -0.1509) |
| OKLCH | oklch(33.89% 0.153 280.4) |
| XYZ | xyz(5.8398, 3.3866, 21.8143) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.11
Royal
#0C1793
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 5.67
Darkblue
#00008B
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 6.76
Navy
#000080
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2283 #768322
analogous
#224683 #2F2283 #5F2283
triadic
#2F2283 #832F22 #22832F
tetradic
#2F2283 #832246 #768322 #22835F
square
#2F2283 #832246 #768322 #22835F
split-complementary
#2F2283 #835F22 #468322
monochromatic
#0C0922 #1E1552 #2F2283 #402FB4 #604ED1
Accessibility & contrast
On white
12.52
#2F2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2F2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2283
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2283 | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2283; /* rgb */ color: rgb(47, 34, 131); /* oklch */ color: oklch(33.9% 0.153 280.4);
Tailwind
colors: {
custom: {
50: '#735fa8',
500: '#2f2283',
950: '#000000',
},
}SCSS
$custom: #2f2283; $custom-light: #735fa8; $custom-dark: #000000;
JSON
{
"hex": "#2f2283",
"rgb": {
"r": 47,
"g": 34,
"b": 131
},
"hsl": {
"h": 248.041,
"s": 58.788,
"l": 32.353
},
"oklch": {
"l": 0.33893,
"c": 0.15344,
"h": 280.4
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#2F2283
secondary
#A7B44C
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F