#3F498E#3F498E
#3F498E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.113 H 274.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3F498E |
|---|---|
| RGB | rgb(63, 73, 142) |
| HSL | hsl(232, 39%, 40%) |
| HSV | hsv(232, 56%, 56%) |
| CMYK | cmyk(55.6%, 48.6%, 0%, 44.3%) |
| CIE-LAB | lab(33.51, 17.11, -39.66) |
| CIE-LCH | lch(33.51, 43.20, 293.34°) |
| OKLab | oklab(43.33% 0.0088 -0.113) |
| OKLCH | oklch(43.33% 0.113 274.5) |
| XYZ | xyz(9.3134, 7.7742, 26.5957) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.92
Blueberry
#464196
ΔE00 4.04
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 5.37
Dusk
#4E5481
ΔE00 5.95
Cobalt
#0047AB
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F498E #8E843F
analogous
#3F708E #3F498E #5C3F8E
triadic
#3F498E #8E3F49 #498E3F
tetradic
#3F498E #8E3F70 #8E843F #3F8E5C
square
#3F498E #8E3F70 #8E843F #3F8E5C
split-complementary
#3F498E #8E5C3F #708E3F
monochromatic
#191D39 #2C3364 #3F498E #5662B4 #8189C7
Accessibility & contrast
On white
8.22
#3F498E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3F498E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F498E
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F498E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F498E | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#185864
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3f498e; /* rgb */ color: rgb(63, 73, 142); /* oklch */ color: oklch(43.3% 0.113 274.5);
Tailwind
colors: {
custom: {
50: '#7a7baf',
500: '#3f498e',
950: '#000000',
},
}SCSS
$custom: #3f498e; $custom-light: #7a7baf; $custom-dark: #000000;
JSON
{
"hex": "#3f498e",
"rgb": {
"r": 63,
"g": 73,
"b": 142
},
"hsl": {
"h": 232.405,
"s": 38.537,
"l": 40.196
},
"oklch": {
"l": 0.43329,
"c": 0.11337,
"h": 274.5
},
"luminance": 0.07775
}Semantic roles & 50–950 ramp
primary
#3F498E
secondary
#B1AA78
accent
#C059CE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F