#3862BD#3862BD

#3862BD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.151 H 263.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3862BD
RGBrgb(56, 98, 189)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 70%, 74%)
CMYKcmyk(70.4%, 48.1%, 0%, 25.9%)
CIE-LABlab(43.14, 16.39, -52.23)
CIE-LCHlch(43.14, 54.74, 287.42°)
OKLaboklab(51.54% -0.0173 -0.1498)
OKLCHoklch(51.54% 0.151 263.4)
XYZxyz(15.1806, 13.2487, 49.8915)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862BD #BD9338
analogous
#38A4BD #3862BD #5138BD
triadic
#3862BD #BD3862 #62BD38
tetradic
#3862BD #BD38A4 #BD9338 #38BD51
square
#3862BD #BD38A4 #BD9338 #38BD51
split-complementary
#3862BD #BD5138 #A4BD38
monochromatic
#1C315F #2A4A8E #3862BD #6285D0 #91A9DE

Accessibility & contrast

On white

5.75
#3862BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3862BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862BD#FFFFFF#000000##FFFFFF
##3862BD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#0C60BB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3862bd;
/* rgb */ color: rgb(56, 98, 189);
/* oklch */ color: oklch(51.5% 0.151 263.4);
Tailwind
colors: {
  custom: {
    50: '#7f8ed1',
    500: '#3862bd',
    950: '#000000',
  },
}
SCSS
$custom: #3862bd;
$custom-light: #7f8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3862bd",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 221.053,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.15078,
    "h": 263.4
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#3862BD
secondary
#C9B587
accent
#AF4ADE
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3862BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3862BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva