#3F4FA5#3F4FA5
#3F4FA5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.139 H 272.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FA5 |
|---|---|
| RGB | rgb(63, 79, 165) |
| HSL | hsl(231, 45%, 45%) |
| HSV | hsv(231, 62%, 65%) |
| CMYK | cmyk(61.8%, 52.1%, 0%, 35.3%) |
| CIE-LAB | lab(36.68, 21.21, -48.47) |
| CIE-LCH | lch(36.68, 52.91, 293.63°) |
| OKLab | oklab(46.22% 0.0048 -0.1389) |
| OKLCH | oklch(46.22% 0.139 272) |
| XYZ | xyz(11.6352, 9.3644, 36.7844) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.30
Blueberry
#464196
ΔE00 5.56
Cobalt (survey)
#1E488F
ΔE00 5.81
Denim Blue
#3B5B92
ΔE00 5.86
Twilight
#4E518B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FA5 #A5953F
analogous
#3F82A5 #3F4FA5 #623FA5
triadic
#3F4FA5 #A53F4F #4FA53F
tetradic
#3F4FA5 #A53F82 #A5953F #3FA562
square
#3F4FA5 #A53F82 #A5953F #3FA562
split-complementary
#3F4FA5 #A5623F #82A53F
monochromatic
#1D254C #2E3A79 #3F4FA5 #5F6FC2 #8C97D3
Accessibility & contrast
On white
7.31
#3F4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#3F4FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FA5
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FA5 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f4fa5; /* rgb */ color: rgb(63, 79, 165); /* oklch */ color: oklch(46.2% 0.139 272.0);
Tailwind
colors: {
custom: {
50: '#7e80c0',
500: '#3f4fa5',
950: '#000000',
},
}SCSS
$custom: #3f4fa5; $custom-light: #7e80c0; $custom-dark: #000000;
JSON
{
"hex": "#3f4fa5",
"rgb": {
"r": 63,
"g": 79,
"b": 165
},
"hsl": {
"h": 230.588,
"s": 44.737,
"l": 44.706
},
"oklch": {
"l": 0.46215,
"c": 0.13894,
"h": 272
},
"luminance": 0.09365
}Semantic roles & 50–950 ramp
primary
#3F4FA5
secondary
#BEB482
accent
#C053D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81