#3862CD#3862CD

#3862CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.173 H 264.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3862CD
RGBrgb(56, 98, 205)
HSLhsl(223, 60%, 51%)
HSVhsv(223, 73%, 80%)
CMYKcmyk(72.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(44.21, 22.28, -59.75)
CIE-LCHlch(44.21, 63.77, 290.45°)
OKLaboklab(52.7% -0.0154 -0.1719)
OKLCHoklch(52.7% 0.173 264.9)
XYZxyz(17.0141, 13.9821, 59.5479)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862CD #CDA338
analogous
#38ACCD #3862CD #5838CD
triadic
#3862CD #CD3862 #62CD38
tetradic
#3862CD #CD38AC #CDA338 #38CD58
square
#3862CD #CD38AC #CDA338 #38CD58
split-complementary
#3862CD #CD5838 #ACCD38
monochromatic
#1C336F #284AA0 #3862CD #6989D9 #9AAFE6

Accessibility & contrast

On white

5.53
#3862CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3862CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862CD#FFFFFF#000000##FFFFFF
##3862CD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3862cd;
/* rgb */ color: rgb(56, 98, 205);
/* oklch */ color: oklch(52.7% 0.173 264.9);
Tailwind
colors: {
  custom: {
    50: '#828edd',
    500: '#3862cd',
    950: '#000000',
  },
}
SCSS
$custom: #3862cd;
$custom-light: #828edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3862cd",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 223.087,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.17261,
    "h": 264.9
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#3862CD
secondary
#D1BF8F
accent
#B645E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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