#3862DF#3862DF
#3862DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.196 H 265.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3862DF |
|---|---|
| RGB | rgb(56, 98, 223) |
| HSL | hsl(225, 72%, 55%) |
| HSV | hsv(225, 75%, 87%) |
| CMYK | cmyk(74.9%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(45.50, 28.87, -67.93) |
| CIE-LCH | lch(45.50, 73.81, 293.02°) |
| OKLab | oklab(54.08% -0.0141 -0.196) |
| OKLCH | oklch(54.08% 0.196 265.9) |
| XYZ | xyz(19.3132, 14.9017, 71.6562) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.18
Royal Blue
#4169E1
ΔE00 2.41
Bright Blue
#0165FC
ΔE00 3.55
Warm Blue
#4B57DB
ΔE00 4.64
Cornflower Blue
#5170D7
ΔE00 5.00
Cerulean Blue
#056EEE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862DF #DFB538
analogous
#38B6DF #3862DF #6238DF
triadic
#3862DF #DF3862 #62DF38
tetradic
#3862DF #DF38B6 #DFB538 #38DF62
square
#3862DF #DF38B6 #DFB538 #38DF62
split-complementary
#3862DF #DF6238 #B6DF38
monochromatic
#163287 #1E46BC #3862DF #6D8CE7 #A1B5F0
Accessibility & contrast
On white
5.28
#3862DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#3862DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862DF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862DF | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #3862df; /* rgb */ color: rgb(56, 98, 223); /* oklch */ color: oklch(54.1% 0.196 265.9);
Tailwind
colors: {
custom: {
50: '#868eea',
500: '#3862df',
950: '#000000',
},
}SCSS
$custom: #3862df; $custom-light: #868eea; $custom-dark: #000000;
JSON
{
"hex": "#3862df",
"rgb": {
"r": 56,
"g": 98,
"b": 223
},
"hsl": {
"h": 224.91,
"s": 72.294,
"l": 54.706
},
"oklch": {
"l": 0.5408,
"c": 0.19648,
"h": 265.9
},
"luminance": 0.14904
}Semantic roles & 50–950 ramp
primary
#3862DF
secondary
#DDCB96
accent
#C139EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84