#3862BF#3862BF
#3862BF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.154 H 263.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3862BF |
|---|---|
| RGB | rgb(56, 98, 191) |
| HSL | hsl(221, 55%, 48%) |
| HSV | hsv(221, 71%, 75%) |
| CMYK | cmyk(70.7%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(43.27, 17.12, -53.18) |
| CIE-LCH | lch(43.27, 55.87, 287.85°) |
| OKLab | oklab(51.68% -0.017 -0.1526) |
| OKLCH | oklch(51.68% 0.154 263.6) |
| XYZ | xyz(15.3992, 13.3361, 51.0427) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.20
French Blue
#436BAD
ΔE00 3.76
Mid Blue
#276AB3
ΔE00 5.13
Royal Blue
#4169E1
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.52
Sapphire
#0F52BA
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862BF #BF9538
analogous
#38A5BF #3862BF #5138BF
triadic
#3862BF #BF3862 #62BF38
tetradic
#3862BF #BF38A5 #BF9538 #38BF51
square
#3862BF #BF38A5 #BF9538 #38BF51
split-complementary
#3862BF #BF5138 #A5BF38
monochromatic
#1C3160 #2A4A90 #3862BF #6385D1 #92AADF
Accessibility & contrast
On white
5.73
#3862BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#3862BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862BF
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862BF | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#0360BD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3862bf; /* rgb */ color: rgb(56, 98, 191); /* oklch */ color: oklch(51.7% 0.154 263.6);
Tailwind
colors: {
custom: {
50: '#7f8ed3',
500: '#3862bf',
950: '#000000',
},
}SCSS
$custom: #3862bf; $custom-light: #7f8ed3; $custom-dark: #000000;
JSON
{
"hex": "#3862bf",
"rgb": {
"r": 56,
"g": 98,
"b": 191
},
"hsl": {
"h": 221.333,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.51679,
"c": 0.15354,
"h": 263.6
},
"luminance": 0.13338
}Semantic roles & 50–950 ramp
primary
#3862BF
secondary
#CAB689
accent
#B04ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83