#3F46AF#3F46AF
#3F46AF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.165 H 274.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3F46AF |
|---|---|
| RGB | rgb(63, 70, 175) |
| HSL | hsl(236, 47%, 47%) |
| HSV | hsv(236, 64%, 69%) |
| CMYK | cmyk(64%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(35.07, 30.55, -57.04) |
| CIE-LCH | lch(35.07, 64.71, 298.17°) |
| OKLab | oklab(45.24% 0.0138 -0.1642) |
| OKLCH | oklch(45.24% 0.165 274.8) |
| XYZ | xyz(11.9754, 8.5312, 41.5647) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.92
Blueberry
#464196
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F46AF #AFA83F
analogous
#3F7EAF #3F46AF #703FAF
triadic
#3F46AF #AF3F46 #46AF3F
tetradic
#3F46AF #AF3F7E #AFA83F #3FAF70
square
#3F46AF #AF3F7E #AFA83F #3FAF70
split-complementary
#3F46AF #AF703F #7EAF3F
monochromatic
#1F2255 #2F3482 #3F46AF #646AC7 #9195D7
Accessibility & contrast
On white
7.76
#3F46AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3F46AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F46AF
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F46AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F46AF | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3f46af; /* rgb */ color: rgb(63, 70, 175); /* oklch */ color: oklch(45.2% 0.165 274.8);
Tailwind
colors: {
custom: {
50: '#8079c8',
500: '#3f46af',
950: '#000000',
},
}SCSS
$custom: #3f46af; $custom-light: #8079c8; $custom-dark: #000000;
JSON
{
"hex": "#3f46af",
"rgb": {
"r": 63,
"g": 70,
"b": 175
},
"hsl": {
"h": 236.25,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.45243,
"c": 0.16474,
"h": 274.8
},
"luminance": 0.08532
}Semantic roles & 50–950 ramp
primary
#3F46AF
secondary
#C3BF87
accent
#CE51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82