#3F378C#3F378C
#3F378C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.136 H 282.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3F378C |
|---|---|
| RGB | rgb(63, 55, 140) |
| HSL | hsl(246, 44%, 38%) |
| HSV | hsv(246, 61%, 55%) |
| CMYK | cmyk(55%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(28.60, 28.24, -46.35) |
| CIE-LCH | lch(28.60, 54.28, 301.36°) |
| OKLab | oklab(39.61% 0.0294 -0.1328) |
| OKLCH | oklch(39.61% 0.136 282.5) |
| XYZ | xyz(8.1483, 5.6821, 25.4733) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.31
Blueberry
#464196
ΔE00 3.14
Sapphire (survey)
#2138AB
ΔE00 5.97
Ocean Blue
#4F42B5
ΔE00 6.99
Rebeccapurple
#663399
ΔE00 7.96
Twilight
#4E518B
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F378C #848C37
analogous
#37598C #3F378C #69378C
triadic
#3F378C #8C3F37 #378C3F
tetradic
#3F378C #8C3759 #848C37 #378C69
square
#3F378C #8C3759 #848C37 #378C69
split-complementary
#3F378C #8C6937 #598C37
monochromatic
#171434 #2B2660 #3F378C #5349B7 #7D75C9
Accessibility & contrast
On white
9.83
#3F378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#3F378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F378C
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F378C | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#1D4B5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f378c; /* rgb */ color: rgb(63, 55, 140); /* oklch */ color: oklch(39.6% 0.136 282.5);
Tailwind
colors: {
custom: {
50: '#7b6eae',
500: '#3f378c',
950: '#000000',
},
}SCSS
$custom: #3f378c; $custom-light: #7b6eae; $custom-dark: #000000;
JSON
{
"hex": "#3f378c",
"rgb": {
"r": 63,
"g": 55,
"b": 140
},
"hsl": {
"h": 245.647,
"s": 43.59,
"l": 38.235
},
"oklch": {
"l": 0.39608,
"c": 0.13605,
"h": 282.5
},
"luminance": 0.05683
}Semantic roles & 50–950 ramp
primary
#3F378C
secondary
#ABB16D
accent
#D354C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F