#373399#373399
#373399 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.161 H 277.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #373399 |
|---|---|
| RGB | rgb(55, 51, 153) |
| HSL | hsl(242, 50%, 40%) |
| HSV | hsv(242, 67%, 60%) |
| CMYK | cmyk(64.1%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(28.06, 33.75, -55.24) |
| CIE-LCH | lch(28.06, 64.74, 301.43°) |
| OKLab | oklab(39.39% 0.0218 -0.1592) |
| OKLCH | oklch(39.39% 0.161 277.8) |
| XYZ | xyz(8.5073, 5.4791, 30.7401) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.79
Blueberry
#464196
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 6.72
Royal
#0C1793
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#373399 #959933
analogous
#336299 #373399 #6A3399
triadic
#373399 #993733 #339937
tetradic
#373399 #993362 #959933 #33996A
square
#373399 #993362 #959933 #33996A
split-complementary
#373399 #996A33 #629933
monochromatic
#16143D #27246B #373399 #4C47C2 #7975D1
Accessibility & contrast
On white
10.02
#373399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#373399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #373399
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##373399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##373399 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #373399; /* rgb */ color: rgb(55, 51, 153); /* oklch */ color: oklch(39.4% 0.161 277.8);
Tailwind
colors: {
custom: {
50: '#7a6bb8',
500: '#373399',
950: '#000000',
},
}SCSS
$custom: #373399; $custom-light: #7a6bb8; $custom-dark: #000000;
JSON
{
"hex": "#373399",
"rgb": {
"r": 55,
"g": 51,
"b": 153
},
"hsl": {
"h": 242.353,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.39387,
"c": 0.1607,
"h": 277.8
},
"luminance": 0.0548
}Semantic roles & 50–950 ramp
primary
#373399
secondary
#B6B96E
accent
#DA4ED4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80