#3F4E98#3F4E98
#3F4E98 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.121 H 272.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E98 |
|---|---|
| RGB | rgb(63, 78, 152) |
| HSL | hsl(230, 41%, 42%) |
| HSV | hsv(230, 59%, 60%) |
| CMYK | cmyk(58.6%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.54, 17.29, -42.48) |
| CIE-LCH | lch(35.54, 45.87, 292.15°) |
| OKLab | oklab(45.08% 0.0044 -0.1213) |
| OKLCH | oklch(45.08% 0.121 272.1) |
| XYZ | xyz(10.4399, 8.7718, 30.8426) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 5.03
Blueberry
#464196
ΔE00 5.17
Denim Blue
#3B5B92
ΔE00 5.49
Cobalt
#0047AB
ΔE00 5.83
Dusky Blue
#475F94
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E98 #98893F
analogous
#3F7A98 #3F4E98 #5D3F98
triadic
#3F4E98 #983F4E #4E983F
tetradic
#3F4E98 #983F7A #98893F #3F985D
square
#3F4E98 #983F7A #98893F #3F985D
split-complementary
#3F4E98 #985D3F #7A983F
monochromatic
#1B2241 #2D386D #3F4E98 #5A6ABA #8591CC
Accessibility & contrast
On white
7.62
#3F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3F4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E98
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E98 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#015F6B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f4e98; /* rgb */ color: rgb(63, 78, 152); /* oklch */ color: oklch(45.1% 0.121 272.1);
Tailwind
colors: {
custom: {
50: '#7c7fb7',
500: '#3f4e98',
950: '#000000',
},
}SCSS
$custom: #3f4e98; $custom-light: #7c7fb7; $custom-dark: #000000;
JSON
{
"hex": "#3f4e98",
"rgb": {
"r": 63,
"g": 78,
"b": 152
},
"hsl": {
"h": 229.888,
"s": 41.395,
"l": 42.157
},
"oklch": {
"l": 0.45079,
"c": 0.12135,
"h": 272.1
},
"luminance": 0.08773
}Semantic roles & 50–950 ramp
primary
#3F4E98
secondary
#B7AD7C
accent
#BD57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80