#3F54C2#3F54C2
#3F54C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.173 H 270.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F54C2 |
|---|---|
| RGB | rgb(63, 84, 194) |
| HSL | hsl(230, 52%, 50%) |
| HSV | hsv(230, 68%, 76%) |
| CMYK | cmyk(67.5%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.07, 28.26, -60.08) |
| CIE-LCH | lch(40.07, 66.40, 295.19°) |
| OKLab | oklab(49.42% 0.0018 -0.173) |
| OKLCH | oklch(49.42% 0.173 270.6) |
| XYZ | xyz(14.9545, 11.2910, 52.4198) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 5.56
Iris
#6258C4
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 6.10
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F54C2 #C2AD3F
analogous
#3F95C2 #3F54C2 #6C3FC2
triadic
#3F54C2 #C23F54 #54C23F
tetradic
#3F54C2 #C23F95 #C2AD3F #3FC26C
square
#3F54C2 #C23F95 #C2AD3F #3FC26C
split-complementary
#3F54C2 #C26C3F #95C23F
monochromatic
#202C66 #2F3F95 #3F54C2 #6D7DD1 #9CA7E0
Accessibility & contrast
On white
6.44
#3F54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3F54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F54C2
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F54C2 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3f54c2; /* rgb */ color: rgb(63, 84, 194); /* oklch */ color: oklch(49.4% 0.173 270.6);
Tailwind
colors: {
custom: {
50: '#8383d5',
500: '#3f54c2',
950: '#000000',
},
}SCSS
$custom: #3f54c2; $custom-light: #8383d5; $custom-dark: #000000;
JSON
{
"hex": "#3f54c2",
"rgb": {
"r": 63,
"g": 84,
"b": 194
},
"hsl": {
"h": 230.382,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.49418,
"c": 0.17297,
"h": 270.6
},
"luminance": 0.11292
}Semantic roles & 50–950 ramp
primary
#3F54C2
secondary
#CCC291
accent
#C44DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83