#3F4FA2#3F4FA2
#3F4FA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.135 H 271.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FA2 |
|---|---|
| RGB | rgb(63, 79, 162) |
| HSL | hsl(230, 44%, 44%) |
| HSV | hsv(230, 61%, 64%) |
| CMYK | cmyk(61.1%, 51.2%, 0%, 36.5%) |
| CIE-LAB | lab(36.47, 20.15, -47.00) |
| CIE-LCH | lch(36.47, 51.14, 293.21°) |
| OKLab | oklab(46% 0.0045 -0.1345) |
| OKLCH | oklch(46% 0.135 271.9) |
| XYZ | xyz(11.3653, 9.2564, 35.3632) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 5.32
Blueberry
#464196
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.50
Twilight
#4E518B
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FA2 #A2923F
analogous
#3F81A2 #3F4FA2 #613FA2
triadic
#3F4FA2 #A23F4F #4FA23F
tetradic
#3F4FA2 #A23F81 #A2923F #3FA261
square
#3F4FA2 #A23F81 #A2923F #3FA261
split-complementary
#3F4FA2 #A2613F #81A23F
monochromatic
#1D244A #2E3A76 #3F4FA2 #5E6EC0 #8A95D1
Accessibility & contrast
On white
7.36
#3F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#3F4FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FA2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FA2 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f4fa2; /* rgb */ color: rgb(63, 79, 162); /* oklch */ color: oklch(46.0% 0.135 271.9);
Tailwind
colors: {
custom: {
50: '#7d80be',
500: '#3f4fa2',
950: '#000000',
},
}SCSS
$custom: #3f4fa2; $custom-light: #7d80be; $custom-dark: #000000;
JSON
{
"hex": "#3f4fa2",
"rgb": {
"r": 63,
"g": 79,
"b": 162
},
"hsl": {
"h": 230.303,
"s": 44,
"l": 44.118
},
"oklch": {
"l": 0.45996,
"c": 0.13462,
"h": 271.9
},
"luminance": 0.09257
}Semantic roles & 50–950 ramp
primary
#3F4FA2
secondary
#BCB381
accent
#BF54D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81