#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
RGBrgb(56, 98, 191)
HSLhsl(221, 55%, 48%)
HSVhsv(221, 71%, 75%)
CMYKcmyk(70.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(43.27, 17.12, -53.18)
CIE-LCHlch(43.27, 55.87, 287.85°)
OKLaboklab(51.68% -0.017 -0.1526)
OKLCHoklch(51.68% 0.154 263.6)
XYZxyz(15.3992, 13.3361, 51.0427)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##3862BF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.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

Preview Lab

Preview with #3862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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