#3F45A5#3F45A5
#3F45A5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.152 H 275.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F45A5 |
|---|---|
| RGB | rgb(63, 69, 165) |
| HSL | hsl(236, 45%, 45%) |
| HSV | hsv(236, 62%, 65%) |
| CMYK | cmyk(61.8%, 58.2%, 0%, 35.3%) |
| CIE-LAB | lab(34.04, 27.72, -52.73) |
| CIE-LCH | lch(34.04, 59.57, 297.73°) |
| OKLab | oklab(44.24% 0.0147 -0.1515) |
| OKLCH | oklch(44.24% 0.152 275.6) |
| XYZ | xyz(10.9673, 8.0288, 36.5618) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F45A5 #A59F3F
analogous
#3F78A5 #3F45A5 #6C3FA5
triadic
#3F45A5 #A53F45 #45A53F
tetradic
#3F45A5 #A53F78 #A59F3F #3FA56C
square
#3F45A5 #A53F78 #A59F3F #3FA56C
split-complementary
#3F45A5 #A56C3F #78A53F
monochromatic
#1D204C #2E3279 #3F45A5 #5F65C2 #8C90D3
Accessibility & contrast
On white
8.06
#3F45A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3F45A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F45A5
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F45A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F45A5 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3f45a5; /* rgb */ color: rgb(63, 69, 165); /* oklch */ color: oklch(44.2% 0.152 275.6);
Tailwind
colors: {
custom: {
50: '#7f78c0',
500: '#3f45a5',
950: '#000000',
},
}SCSS
$custom: #3f45a5; $custom-light: #7f78c0; $custom-dark: #000000;
JSON
{
"hex": "#3f45a5",
"rgb": {
"r": 63,
"g": 69,
"b": 165
},
"hsl": {
"h": 236.471,
"s": 44.737,
"l": 44.706
},
"oklch": {
"l": 0.44242,
"c": 0.15223,
"h": 275.6
},
"luminance": 0.0803
}Semantic roles & 50–950 ramp
primary
#3F45A5
secondary
#BEBA82
accent
#CD53D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81