#3862C8#3862C8

#3862C8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.166 H 264.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3862C8
RGBrgb(56, 98, 200)
HSLhsl(223, 57%, 50%)
HSVhsv(223, 72%, 78%)
CMYKcmyk(72%, 51%, 0%, 21.6%)
CIE-LABlab(43.86, 20.44, -57.43)
CIE-LCHlch(43.86, 60.95, 289.59°)
OKLaboklab(52.33% -0.0159 -0.1651)
OKLCHoklch(52.33% 0.166 264.5)
XYZxyz(16.4202, 13.7445, 56.4200)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862C8 #C89E38
analogous
#38AAC8 #3862C8 #5638C8
triadic
#3862C8 #C83862 #62C838
tetradic
#3862C8 #C838AA #C89E38 #38C856
square
#3862C8 #C838AA #C89E38 #38C856
split-complementary
#3862C8 #C85638 #AAC838
monochromatic
#1D3369 #2A4A99 #3862C8 #6888D5 #98AEE3

Accessibility & contrast

On white

5.60
#3862C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3862C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862C8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862C8#FFFFFF#000000##FFFFFF
##3862C81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3862c8;
/* rgb */ color: rgb(56, 98, 200);
/* oklch */ color: oklch(52.3% 0.166 264.5);
Tailwind
colors: {
  custom: {
    50: '#818ed9',
    500: '#3862c8',
    950: '#000000',
  },
}
SCSS
$custom: #3862c8;
$custom-light: #818ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3862c8",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 222.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.16584,
    "h": 264.5
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#3862C8
secondary
#CEBB8E
accent
#B448E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3862C8

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

Preview Lab → · Contrast checker → · Palette generator →

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