#3F4C8D#3F4C8D
#3F4C8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.9% C 0.108 H 272.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4C8D |
|---|---|
| RGB | rgb(63, 76, 141) |
| HSL | hsl(230, 38%, 40%) |
| HSV | hsv(230, 55%, 55%) |
| CMYK | cmyk(55.3%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(34.29, 14.79, -37.80) |
| CIE-LCH | lch(34.29, 40.59, 291.37°) |
| OKLab | oklab(43.9% 0.0051 -0.1075) |
| OKLCH | oklch(43.9% 0.108 272.7) |
| XYZ | xyz(9.4405, 8.1481, 26.2694) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.52
Cobalt (survey)
#1E488F
ΔE00 5.08
Blueberry
#464196
ΔE00 5.13
Dusk
#4E5481
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4C8D #8D803F
analogous
#3F738D #3F4C8D #593F8D
triadic
#3F4C8D #8D3F4C #4C8D3F
tetradic
#3F4C8D #8D3F73 #8D803F #3F8D59
square
#3F4C8D #8D3F73 #8D803F #3F8D59
split-complementary
#3F4C8D #8D593F #738D3F
monochromatic
#191E38 #2C3563 #3F4C8D #5665B3 #808CC6
Accessibility & contrast
On white
7.99
#3F4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#3F4C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4C8D
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4C8D | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#185A65
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3f4c8d; /* rgb */ color: rgb(63, 76, 141); /* oklch */ color: oklch(43.9% 0.108 272.7);
Tailwind
colors: {
custom: {
50: '#7a7daf',
500: '#3f4c8d',
950: '#000000',
},
}SCSS
$custom: #3f4c8d; $custom-light: #7a7daf; $custom-dark: #000000;
JSON
{
"hex": "#3f4c8d",
"rgb": {
"r": 63,
"g": 76,
"b": 141
},
"hsl": {
"h": 230,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.43903,
"c": 0.10765,
"h": 272.7
},
"luminance": 0.08149
}Semantic roles & 50–950 ramp
primary
#3F4C8D
secondary
#B1A777
accent
#BB5ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F