#3F5CCB#3F5CCB
#3F5CCB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.175 H 268.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CCB |
|---|---|
| RGB | rgb(63, 92, 203) |
| HSL | hsl(228, 57%, 52%) |
| HSV | hsv(228, 69%, 80%) |
| CMYK | cmyk(69%, 54.7%, 0%, 20.4%) |
| CIE-LAB | lab(42.80, 26.35, -60.87) |
| CIE-LCH | lch(42.80, 66.33, 293.41°) |
| OKLab | oklab(51.67% -0.0045 -0.1752) |
| OKLCH | oklch(51.67% 0.175 268.5) |
| XYZ | xyz(16.6528, 13.0212, 58.1241) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.67
Azul
#1D5DEC
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 5.21
Sapphire
#0F52BA
ΔE00 5.51
Denim
#1560BD
ΔE00 5.89
Iris
#6258C4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CCB #CBAE3F
analogous
#3FA2CB #3F5CCB #683FCB
triadic
#3F5CCB #CB3F5C #5CCB3F
tetradic
#3F5CCB #CB3FA2 #CBAE3F #3FCB68
square
#3F5CCB #CB3FA2 #CBAE3F #3FCB68
split-complementary
#3F5CCB #CB683F #A2CB3F
monochromatic
#1F3071 #2C44A1 #3F5CCB #6F85D8 #9FAEE5
Accessibility & contrast
On white
5.83
#3F5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3F5CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CCB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CCB | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3f5ccb; /* rgb */ color: rgb(63, 92, 203); /* oklch */ color: oklch(51.7% 0.175 268.5);
Tailwind
colors: {
custom: {
50: '#8589dc',
500: '#3f5ccb',
950: '#000000',
},
}SCSS
$custom: #3f5ccb; $custom-light: #8589dc; $custom-dark: #000000;
JSON
{
"hex": "#3f5ccb",
"rgb": {
"r": 63,
"g": 92,
"b": 203
},
"hsl": {
"h": 227.571,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.51672,
"c": 0.17523,
"h": 268.5
},
"luminance": 0.13023
}Semantic roles & 50–950 ramp
primary
#3F5CCB
secondary
#D1C594
accent
#C147E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83