#3F5FCB#3F5FCB
#3F5FCB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.172 H 267.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FCB |
|---|---|
| RGB | rgb(63, 95, 203) |
| HSL | hsl(226, 57%, 52%) |
| HSV | hsv(226, 69%, 80%) |
| CMYK | cmyk(69%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(43.58, 24.44, -59.60) |
| CIE-LCH | lch(43.58, 64.41, 292.30°) |
| OKLab | oklab(52.26% -0.0071 -0.1714) |
| OKLCH | oklch(52.26% 0.172 267.6) |
| XYZ | xyz(16.9179, 13.5513, 58.2124) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 4.37
Royal Blue
#4169E1
ΔE00 4.40
Denim
#1560BD
ΔE00 5.38
French Blue
#436BAD
ΔE00 5.85
Sapphire
#0F52BA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FCB #CBAB3F
analogous
#3FA5CB #3F5FCB #653FCB
triadic
#3F5FCB #CB3F5F #5FCB3F
tetradic
#3F5FCB #CB3FA5 #CBAB3F #3FCB65
square
#3F5FCB #CB3FA5 #CBAB3F #3FCB65
split-complementary
#3F5FCB #CB653F #A5CB3F
monochromatic
#1F3171 #2C47A1 #3F5FCB #6F87D8 #9FAFE5
Accessibility & contrast
On white
5.66
#3F5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#3F5FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FCB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FCB | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5fcb; /* rgb */ color: rgb(63, 95, 203); /* oklch */ color: oklch(52.3% 0.172 267.6);
Tailwind
colors: {
custom: {
50: '#848cdc',
500: '#3f5fcb',
950: '#000000',
},
}SCSS
$custom: #3f5fcb; $custom-light: #848cdc; $custom-dark: #000000;
JSON
{
"hex": "#3f5fcb",
"rgb": {
"r": 63,
"g": 95,
"b": 203
},
"hsl": {
"h": 226.286,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.52265,
"c": 0.17152,
"h": 267.6
},
"luminance": 0.13553
}Semantic roles & 50–950 ramp
primary
#3F5FCB
secondary
#D1C394
accent
#BE47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83