#3862DA#3862DA

#3862DA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.190 H 265.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3862DA
RGBrgb(56, 98, 218)
HSLhsl(224, 69%, 54%)
HSVhsv(224, 74%, 85%)
CMYKcmyk(74.3%, 55%, 0%, 14.5%)
CIE-LABlab(45.13, 27.04, -65.69)
CIE-LCHlch(45.13, 71.04, 292.38°)
OKLaboklab(53.69% -0.0144 -0.1894)
OKLCHoklch(53.69% 0.19 265.7)
XYZxyz(18.6490, 14.6360, 68.1583)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862DA #DAB038
analogous
#38B3DA #3862DA #5F38DA
triadic
#3862DA #DA3862 #62DA38
tetradic
#3862DA #DA38B3 #DAB038 #38DA5F
square
#3862DA #DA38B3 #DAB038 #38DA5F
split-complementary
#3862DA #DA5F38 #B3DA38
monochromatic
#183380 #2147B3 #3862DA #6C8BE4 #9FB3ED

Accessibility & contrast

On white

5.35
#3862DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3862DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862DA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862DA#FFFFFF#000000##FFFFFF
##3862DA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3862da;
/* rgb */ color: rgb(56, 98, 218);
/* oklch */ color: oklch(53.7% 0.190 265.7);
Tailwind
colors: {
  custom: {
    50: '#858ee6',
    500: '#3862da',
    950: '#000000',
  },
}
SCSS
$custom: #3862da;
$custom-light: #858ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#3862da",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 224.444,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.18992,
    "h": 265.7
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#3862DA
secondary
#DAC894
accent
#BE3CEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3862DA

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

Preview Lab → · Contrast checker → · Palette generator →

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