#3F4FA8#3F4FA8
#3F4FA8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.143 H 272.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FA8 |
|---|---|
| RGB | rgb(63, 79, 168) |
| HSL | hsl(231, 45%, 45%) |
| HSV | hsv(231, 63%, 66%) |
| CMYK | cmyk(62.5%, 53%, 0%, 34.1%) |
| CIE-LAB | lab(36.88, 22.27, -49.93) |
| CIE-LCH | lch(36.88, 54.67, 294.04°) |
| OKLab | oklab(46.44% 0.005 -0.1431) |
| OKLCH | oklch(46.44% 0.143 272) |
| XYZ | xyz(11.9114, 9.4749, 38.2393) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.22
Blueberry
#464196
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.02
Cobalt (survey)
#1E488F
ΔE00 6.07
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FA8 #A8983F
analogous
#3F84A8 #3F4FA8 #633FA8
triadic
#3F4FA8 #A83F4F #4FA83F
tetradic
#3F4FA8 #A83F84 #A8983F #3FA863
square
#3F4FA8 #A83F84 #A8983F #3FA863
split-complementary
#3F4FA8 #A8633F #84A83F
monochromatic
#1E254F #2E3A7B #3F4FA8 #6170C4 #8D98D4
Accessibility & contrast
On white
7.25
#3F4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#3F4FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FA8
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FA8 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3f4fa8; /* rgb */ color: rgb(63, 79, 168); /* oklch */ color: oklch(46.4% 0.143 272.0);
Tailwind
colors: {
custom: {
50: '#7f80c2',
500: '#3f4fa8',
950: '#000000',
},
}SCSS
$custom: #3f4fa8; $custom-light: #7f80c2; $custom-dark: #000000;
JSON
{
"hex": "#3f4fa8",
"rgb": {
"r": 63,
"g": 79,
"b": 168
},
"hsl": {
"h": 230.857,
"s": 45.455,
"l": 45.294
},
"oklch": {
"l": 0.46436,
"c": 0.14324,
"h": 272
},
"luminance": 0.09476
}Semantic roles & 50–950 ramp
primary
#3F4FA8
secondary
#BFB684
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81