#3F4898#3F4898
#3F4898 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.130 H 274.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4898 |
|---|---|
| RGB | rgb(63, 72, 152) |
| HSL | hsl(234, 41%, 42%) |
| HSV | hsv(234, 59%, 60%) |
| CMYK | cmyk(58.6%, 52.6%, 0%, 40.4%) |
| CIE-LAB | lab(33.89, 21.24, -45.13) |
| CIE-LCH | lch(33.89, 49.88, 295.20°) |
| OKLab | oklab(43.83% 0.0111 -0.1291) |
| OKLCH | oklch(43.83% 0.13 274.9) |
| XYZ | xyz(10.0329, 7.9578, 30.7070) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.13
Darkslateblue
#483D8B
ΔE00 5.00
Twilight
#4E518B
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.63
Cobalt
#0047AB
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4898 #988F3F
analogous
#3F7498 #3F4898 #633F98
triadic
#3F4898 #983F48 #48983F
tetradic
#3F4898 #983F74 #988F3F #3F9863
square
#3F4898 #983F74 #988F3F #3F9863
split-complementary
#3F4898 #98633F #74983F
monochromatic
#1B1F41 #2D346D #3F4898 #5A63BA #858CCC
Accessibility & contrast
On white
8.10
#3F4898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#3F4898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4898
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4898 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#045A69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3f4898; /* rgb */ color: rgb(63, 72, 152); /* oklch */ color: oklch(43.8% 0.130 274.9);
Tailwind
colors: {
custom: {
50: '#7c7ab7',
500: '#3f4898',
950: '#000000',
},
}SCSS
$custom: #3f4898; $custom-light: #7c7ab7; $custom-dark: #000000;
JSON
{
"hex": "#3f4898",
"rgb": {
"r": 63,
"g": 72,
"b": 152
},
"hsl": {
"h": 233.933,
"s": 41.395,
"l": 42.157
},
"oklch": {
"l": 0.43834,
"c": 0.12958,
"h": 274.9
},
"luminance": 0.07958
}Semantic roles & 50–950 ramp
primary
#3F4898
secondary
#B7B17C
accent
#C557D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80