#3F3C8A#3F3C8A
#3F3C8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.126 H 280.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F3C8A |
|---|---|
| RGB | rgb(63, 60, 138) |
| HSL | hsl(242, 39%, 39%) |
| HSV | hsv(242, 57%, 54%) |
| CMYK | cmyk(54.3%, 56.5%, 0%, 45.9%) |
| CIE-LAB | lab(29.72, 24.33, -43.29) |
| CIE-LCH | lch(29.72, 49.66, 299.33°) |
| OKLab | oklab(40.39% 0.0238 -0.1238) |
| OKLCH | oklch(40.39% 0.126 280.9) |
| XYZ | xyz(8.2518, 6.1230, 24.7869) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.80
Blueberry
#464196
ΔE00 2.37
Sapphire (survey)
#2138AB
ΔE00 6.36
Twilight
#4E518B
ΔE00 7.05
Ocean Blue
#4F42B5
ΔE00 7.15
Cobalt (survey)
#1E488F
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F3C8A #878A3C
analogous
#3C608A #3F3C8A #663C8A
triadic
#3F3C8A #8A3F3C #3C8A3F
tetradic
#3F3C8A #8A3C60 #878A3C #3C8A66
square
#3F3C8A #8A3C60 #878A3C #3C8A66
split-complementary
#3F3C8A #8A663C #608A3C
monochromatic
#181735 #2C295F #3F3C8A #5450B3 #7E7BC6
Accessibility & contrast
On white
9.44
#3F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#3F3C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F3C8A
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F3C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F3C8A | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#1F4E5D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3f3c8a; /* rgb */ color: rgb(63, 60, 138); /* oklch */ color: oklch(40.4% 0.126 280.9);
Tailwind
colors: {
custom: {
50: '#7b71ad',
500: '#3f3c8a',
950: '#000000',
},
}SCSS
$custom: #3f3c8a; $custom-light: #7b71ad; $custom-dark: #000000;
JSON
{
"hex": "#3f3c8a",
"rgb": {
"r": 63,
"g": 60,
"b": 138
},
"hsl": {
"h": 242.308,
"s": 39.394,
"l": 38.824
},
"oklch": {
"l": 0.40394,
"c": 0.12607,
"h": 280.9
},
"luminance": 0.06123
}Semantic roles & 50–950 ramp
primary
#3F3C8A
secondary
#ADAF73
accent
#CF59CB
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F