#2F2392#2F2392
#2F2392 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.172 H 278.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2392 |
|---|---|
| RGB | rgb(47, 35, 146) |
| HSL | hsl(246, 61%, 35%) |
| HSV | hsv(246, 76%, 57%) |
| CMYK | cmyk(67.8%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(23.27, 39.90, -58.82) |
| CIE-LCH | lch(23.27, 71.07, 304.15°) |
| OKLab | oklab(35.59% 0.0238 -0.1699) |
| OKLCH | oklch(35.59% 0.172 278) |
| XYZ | xyz(6.9600, 3.8811, 27.5709) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 5.29
Royal Blue (survey)
#0504AA
ΔE00 5.80
Midnight Blue
#191970
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2392 #869223
analogous
#234F92 #2F2392 #662392
triadic
#2F2392 #922F23 #23922F
tetradic
#2F2392 #92234F #869223 #239266
square
#2F2392 #92234F #869223 #239266
split-complementary
#2F2392 #926623 #4F9223
monochromatic
#0F0B2F #1F1761 #2F2392 #3F2FC3 #6658D7
Accessibility & contrast
On white
11.82
#2F2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2392
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2392 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2392; /* rgb */ color: rgb(47, 35, 146); /* oklch */ color: oklch(35.6% 0.172 278.0);
Tailwind
colors: {
custom: {
50: '#7660b3',
500: '#2f2392',
950: '#000000',
},
}SCSS
$custom: #2f2392; $custom-light: #7660b3; $custom-dark: #000000;
JSON
{
"hex": "#2f2392",
"rgb": {
"r": 47,
"g": 35,
"b": 146
},
"hsl": {
"h": 246.486,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.35593,
"c": 0.17154,
"h": 278
},
"luminance": 0.03882
}Semantic roles & 50–950 ramp
primary
#2F2392
secondary
#B0BB55
accent
#E443D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980