#3864CD#3864CD
#3864CD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.170 H 264.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3864CD |
|---|---|
| RGB | rgb(56, 100, 205) |
| HSL | hsl(222, 60%, 51%) |
| HSV | hsv(222, 73%, 80%) |
| CMYK | cmyk(72.7%, 51.2%, 0%, 19.6%) |
| CIE-LAB | lab(44.75, 21.00, -58.88) |
| CIE-LCH | lch(44.75, 62.51, 289.63°) |
| OKLab | oklab(53.11% -0.017 -0.1693) |
| OKLCH | oklch(53.11% 0.17 264.3) |
| XYZ | xyz(17.2036, 14.3610, 59.6111) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.40
Azul
#1D5DEC
ΔE00 4.16
Denim
#1560BD
ΔE00 4.31
French Blue
#436BAD
ΔE00 4.46
Cornflower Blue
#5170D7
ΔE00 5.05
Bright Blue
#0165FC
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3864CD #CDA138
analogous
#38AECD #3864CD #5638CD
triadic
#3864CD #CD3864 #64CD38
tetradic
#3864CD #CD38AE #CDA138 #38CD56
square
#3864CD #CD38AE #CDA138 #38CD56
split-complementary
#3864CD #CD5638 #AECD38
monochromatic
#1C346F #284BA0 #3864CD #698AD9 #9AB0E6
Accessibility & contrast
On white
5.42
#3864CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#3864CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3864CD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3864CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3864CD | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #3864cd; /* rgb */ color: rgb(56, 100, 205); /* oklch */ color: oklch(53.1% 0.170 264.3);
Tailwind
colors: {
custom: {
50: '#828fdd',
500: '#3864cd',
950: '#000000',
},
}SCSS
$custom: #3864cd; $custom-light: #828fdd; $custom-dark: #000000;
JSON
{
"hex": "#3864cd",
"rgb": {
"r": 56,
"g": 100,
"b": 205
},
"hsl": {
"h": 222.282,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.53106,
"c": 0.17017,
"h": 264.3
},
"luminance": 0.14363
}Semantic roles & 50–950 ramp
primary
#3864CD
secondary
#D1BE8F
accent
#B445E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83