#2F2393#2F2393
#2F2393 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.173 H 277.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2393 |
|---|---|
| RGB | rgb(47, 35, 147) |
| HSL | hsl(246, 62%, 36%) |
| HSV | hsv(246, 76%, 58%) |
| CMYK | cmyk(68%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(23.38, 40.22, -59.26) |
| CIE-LCH | lch(23.38, 71.62, 304.17°) |
| OKLab | oklab(35.7% 0.0236 -0.1712) |
| OKLCH | oklch(35.7% 0.173 277.8) |
| XYZ | xyz(7.0381, 3.9124, 27.9824) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.51
Indigo Blue
#3A18B1
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 5.21
Royal Blue (survey)
#0504AA
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2393 #879323
analogous
#234F93 #2F2393 #672393
triadic
#2F2393 #932F23 #23932F
tetradic
#2F2393 #93234F #879323 #239367
square
#2F2393 #93234F #879323 #239367
split-complementary
#2F2393 #936723 #4F9323
monochromatic
#0F0B30 #1F1762 #2F2393 #3F2FC4 #6659D7
Accessibility & contrast
On white
11.78
#2F2393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2393
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2393 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2393; /* rgb */ color: rgb(47, 35, 147); /* oklch */ color: oklch(35.7% 0.173 277.8);
Tailwind
colors: {
custom: {
50: '#7660b4',
500: '#2f2393',
950: '#000000',
},
}SCSS
$custom: #2f2393; $custom-light: #7660b4; $custom-dark: #000000;
JSON
{
"hex": "#2f2393",
"rgb": {
"r": 47,
"g": 35,
"b": 147
},
"hsl": {
"h": 246.429,
"s": 61.538,
"l": 35.686
},
"oklch": {
"l": 0.35699,
"c": 0.1728,
"h": 277.8
},
"luminance": 0.03913
}Semantic roles & 50–950 ramp
primary
#2F2393
secondary
#B1BC56
accent
#E543D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980