#3F498F#3F498F
#3F498F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.115 H 274.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F498F |
|---|---|
| RGB | rgb(63, 73, 143) |
| HSL | hsl(233, 39%, 40%) |
| HSV | hsv(233, 56%, 56%) |
| CMYK | cmyk(55.9%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(33.57, 17.46, -40.17) |
| CIE-LCH | lch(33.57, 43.80, 293.49°) |
| OKLab | oklab(43.4% 0.009 -0.1145) |
| OKLCH | oklch(43.4% 0.115 274.5) |
| XYZ | xyz(9.3888, 7.8044, 26.9929) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.94
Twilight
#4E518B
ΔE00 4.00
Darkslateblue
#483D8B
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.36
Dusk
#4E5481
ΔE00 6.07
Cobalt
#0047AB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F498F #8F853F
analogous
#3F718F #3F498F #5D3F8F
triadic
#3F498F #8F3F49 #498F3F
tetradic
#3F498F #8F3F71 #8F853F #3F8F5D
square
#3F498F #8F3F71 #8F853F #3F8F5D
split-complementary
#3F498F #8F5D3F #718F3F
monochromatic
#1A1E3A #2C3365 #3F498F #5662B5 #818AC7
Accessibility & contrast
On white
8.20
#3F498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3F498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F498F
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F498F | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#1E4C8D
Tritanopia (blue-blind)
#165865
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3f498f; /* rgb */ color: rgb(63, 73, 143); /* oklch */ color: oklch(43.4% 0.115 274.5);
Tailwind
colors: {
custom: {
50: '#7b7bb0',
500: '#3f498f',
950: '#000000',
},
}SCSS
$custom: #3f498f; $custom-light: #7b7bb0; $custom-dark: #000000;
JSON
{
"hex": "#3f498f",
"rgb": {
"r": 63,
"g": 73,
"b": 143
},
"hsl": {
"h": 232.5,
"s": 38.835,
"l": 40.392
},
"oklch": {
"l": 0.43398,
"c": 0.11487,
"h": 274.5
},
"luminance": 0.07805
}Semantic roles & 50–950 ramp
primary
#3F498F
secondary
#B2AB78
accent
#C059CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F