#3F5ABA#3F5ABA
#3F5ABA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.154 H 268.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5ABA |
|---|---|
| RGB | rgb(63, 90, 186) |
| HSL | hsl(227, 49%, 49%) |
| HSV | hsv(227, 66%, 73%) |
| CMYK | cmyk(66.1%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(41.08, 21.55, -53.78) |
| CIE-LCH | lch(41.08, 57.94, 291.83°) |
| OKLab | oklab(50% -0.0041 -0.1543) |
| OKLCH | oklch(50% 0.154 268.5) |
| XYZ | xyz(14.5660, 11.9129, 47.9767) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 5.42
Denim
#1560BD
ΔE00 5.46
Denim Blue
#3B5B92
ΔE00 5.66
Dusky Blue
#475F94
ΔE00 5.69
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5ABA #BA9F3F
analogous
#3F98BA #3F5ABA #623FBA
triadic
#3F5ABA #BA3F5A #5ABA3F
tetradic
#3F5ABA #BA3F98 #BA9F3F #3FBA62
square
#3F5ABA #BA3F98 #BA9F3F #3FBA62
split-complementary
#3F5ABA #BA623F #98BA3F
monochromatic
#202E5F #30448C #3F5ABA #6A7FCC #97A6DC
Accessibility & contrast
On white
6.21
#3F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#3F5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5ABA
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5ABA | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3f5aba; /* rgb */ color: rgb(63, 90, 186); /* oklch */ color: oklch(50.0% 0.154 268.5);
Tailwind
colors: {
custom: {
50: '#8188cf',
500: '#3f5aba',
950: '#000000',
},
}SCSS
$custom: #3f5aba; $custom-light: #8188cf; $custom-dark: #000000;
JSON
{
"hex": "#3f5aba",
"rgb": {
"r": 63,
"g": 90,
"b": 186
},
"hsl": {
"h": 226.829,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.49999,
"c": 0.15439,
"h": 268.5
},
"luminance": 0.11914
}Semantic roles & 50–950 ramp
primary
#3F5ABA
secondary
#C8BB8D
accent
#BB4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82