#3F54CA#3F54CA
#3F54CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.184 H 270.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3F54CA |
|---|---|
| RGB | rgb(63, 84, 202) |
| HSL | hsl(231, 57%, 52%) |
| HSV | hsv(231, 69%, 79%) |
| CMYK | cmyk(68.8%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.67, 31.10, -63.74) |
| CIE-LCH | lch(40.67, 70.93, 296.01°) |
| OKLab | oklab(50.06% 0.0019 -0.1837) |
| OKLCH | oklch(50.06% 0.184 270.6) |
| XYZ | xyz(15.8773, 11.6601, 57.2796) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.37
Iris
#6258C4
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.56
Blue (survey)
#0343DF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F54CA #CAB53F
analogous
#3F9ACA #3F54CA #6F3FCA
triadic
#3F54CA #CA3F54 #54CA3F
tetradic
#3F54CA #CA3F9A #CAB53F #3FCA6F
square
#3F54CA #CA3F9A #CAB53F #3FCA6F
split-complementary
#3F54CA #CA6F3F #9ACA3F
monochromatic
#1F2B70 #2C3EA0 #3F54CA #6F7FD7 #9FA9E4
Accessibility & contrast
On white
6.30
#3F54CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#3F54CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F54CA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F54CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F54CA | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3f54ca; /* rgb */ color: rgb(63, 84, 202); /* oklch */ color: oklch(50.1% 0.184 270.6);
Tailwind
colors: {
custom: {
50: '#8584db',
500: '#3f54ca',
950: '#000000',
},
}SCSS
$custom: #3f54ca; $custom-light: #8584db; $custom-dark: #000000;
JSON
{
"hex": "#3f54ca",
"rgb": {
"r": 63,
"g": 84,
"b": 202
},
"hsl": {
"h": 230.935,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.50059,
"c": 0.18373,
"h": 270.6
},
"luminance": 0.11662
}Semantic roles & 50–950 ramp
primary
#3F54CA
secondary
#D1C894
accent
#C948E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83