#3862C4#3862C4

#3862C4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.160 H 264.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3862C4
RGBrgb(56, 98, 196)
HSLhsl(222, 56%, 49%)
HSVhsv(222, 71%, 77%)
CMYKcmyk(71.4%, 50%, 0%, 23.1%)
CIE-LABlab(43.60, 18.96, -55.55)
CIE-LCHlch(43.60, 58.70, 288.85°)
OKLaboklab(52.04% -0.0164 -0.1596)
OKLCHoklch(52.04% 0.16 264.1)
XYZxyz(15.9589, 13.5600, 53.9901)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862C4 #C49A38
analogous
#38A8C4 #3862C4 #5438C4
triadic
#3862C4 #C43862 #62C438
tetradic
#3862C4 #C438A8 #C49A38 #38C454
square
#3862C4 #C438A8 #C49A38 #38C454
split-complementary
#3862C4 #C45438 #A8C438
monochromatic
#1D3265 #2A4A94 #3862C4 #6687D3 #96ACE1

Accessibility & contrast

On white

5.66
#3862C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3862C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862C4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862C4#FFFFFF#000000##FFFFFF
##3862C41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3862c4;
/* rgb */ color: rgb(56, 98, 196);
/* oklch */ color: oklch(52.0% 0.160 264.1);
Tailwind
colors: {
  custom: {
    50: '#808ed6',
    500: '#3862c4',
    950: '#000000',
  },
}
SCSS
$custom: #3862c4;
$custom-light: #808ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3862c4",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 222,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.1604,
    "h": 264.1
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#3862C4
secondary
#CCB98C
accent
#B249DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3862C4

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

Preview Lab → · Contrast checker → · Palette generator →

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