#3F4FA1#3F4FA1
#3F4FA1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.133 H 271.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FA1 |
|---|---|
| RGB | rgb(63, 79, 161) |
| HSL | hsl(230, 44%, 44%) |
| HSV | hsv(230, 61%, 63%) |
| CMYK | cmyk(60.9%, 50.9%, 0%, 36.9%) |
| CIE-LAB | lab(36.41, 19.80, -46.51) |
| CIE-LCH | lch(36.41, 50.55, 293.06°) |
| OKLab | oklab(45.92% 0.0044 -0.1331) |
| OKLCH | oklch(45.92% 0.133 271.9) |
| XYZ | xyz(11.2768, 9.2210, 34.8969) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 5.36
Twilight
#4E518B
ΔE00 5.39
Blueberry
#464196
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.49
Sapphire
#0F52BA
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FA1 #A1913F
analogous
#3F80A1 #3F4FA1 #603FA1
triadic
#3F4FA1 #A13F4F #4FA13F
tetradic
#3F4FA1 #A13F80 #A1913F #3FA160
square
#3F4FA1 #A13F80 #A1913F #3FA160
split-complementary
#3F4FA1 #A1603F #80A13F
monochromatic
#1D2449 #2E3975 #3F4FA1 #5D6DC0 #8995D1
Accessibility & contrast
On white
7.38
#3F4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#3F4FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FA1
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FA1 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#0E529F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f4fa1; /* rgb */ color: rgb(63, 79, 161); /* oklch */ color: oklch(45.9% 0.133 271.9);
Tailwind
colors: {
custom: {
50: '#7d80bd',
500: '#3f4fa1',
950: '#000000',
},
}SCSS
$custom: #3f4fa1; $custom-light: #7d80bd; $custom-dark: #000000;
JSON
{
"hex": "#3f4fa1",
"rgb": {
"r": 63,
"g": 79,
"b": 161
},
"hsl": {
"h": 230.204,
"s": 43.75,
"l": 43.922
},
"oklch": {
"l": 0.45924,
"c": 0.13317,
"h": 271.9
},
"luminance": 0.09222
}Semantic roles & 50–950 ramp
primary
#3F4FA1
secondary
#BCB280
accent
#BF54D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81