#3F5AAA#3F5AAA
#3F5AAA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.132 H 267.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5AAA |
|---|---|
| RGB | rgb(63, 90, 170) |
| HSL | hsl(225, 46%, 46%) |
| HSV | hsv(225, 63%, 67%) |
| CMYK | cmyk(62.9%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(40.03, 15.83, -46.05) |
| CIE-LCH | lch(40.03, 48.70, 288.97°) |
| OKLab | oklab(48.87% -0.006 -0.1316) |
| OKLCH | oklch(48.87% 0.132 267.4) |
| XYZ | xyz(12.9593, 11.2702, 39.5149) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.63
Dusky Blue
#475F94
ΔE00 3.80
Sapphire
#0F52BA
ΔE00 4.53
Denim
#1560BD
ΔE00 5.44
Dusk Blue
#26538D
ΔE00 5.84
Denim (survey)
#3B638C
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5AAA #AA8F3F
analogous
#3F8FAA #3F5AAA #593FAA
triadic
#3F5AAA #AA3F5A #5AAA3F
tetradic
#3F5AAA #AA3F8F #AA8F3F #3FAA59
square
#3F5AAA #AA3F8F #AA8F3F #3FAA59
split-complementary
#3F5AAA #AA593F #8FAA3F
monochromatic
#1E2B51 #2E427D #3F5AAA #627BC5 #8EA0D5
Accessibility & contrast
On white
6.45
#3F5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3F5AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5AAA
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5AAA | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3363AD
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3f5aaa; /* rgb */ color: rgb(63, 90, 170); /* oklch */ color: oklch(48.9% 0.132 267.4);
Tailwind
colors: {
custom: {
50: '#7e88c4',
500: '#3f5aaa',
950: '#000000',
},
}SCSS
$custom: #3f5aaa; $custom-light: #7e88c4; $custom-dark: #000000;
JSON
{
"hex": "#3f5aaa",
"rgb": {
"r": 63,
"g": 90,
"b": 170
},
"hsl": {
"h": 224.86,
"s": 45.923,
"l": 45.686
},
"oklch": {
"l": 0.48868,
"c": 0.13174,
"h": 267.4
},
"luminance": 0.11271
}Semantic roles & 50–950 ramp
primary
#3F5AAA
secondary
#C0B185
accent
#B452D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82