#3862C0#3862C0

#3862C0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.155 H 263.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3862C0
RGBrgb(56, 98, 192)
HSLhsl(221, 55%, 49%)
HSVhsv(221, 71%, 75%)
CMYKcmyk(70.8%, 49%, 0%, 24.7%)
CIE-LABlab(43.33, 17.49, -53.66)
CIE-LCHlch(43.33, 56.44, 288.05°)
OKLaboklab(51.75% -0.0169 -0.154)
OKLCHoklch(51.75% 0.155 263.7)
XYZxyz(15.5096, 13.3803, 51.6242)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862C0 #C09638
analogous
#38A6C0 #3862C0 #5238C0
triadic
#3862C0 #C03862 #62C038
tetradic
#3862C0 #C038A6 #C09638 #38C052
square
#3862C0 #C038A6 #C09638 #38C052
split-complementary
#3862C0 #C05238 #A6C038
monochromatic
#1C3261 #2A4A91 #3862C0 #6486D2 #93ABDF

Accessibility & contrast

On white

5.71
#3862C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3862C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862C0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862C0#FFFFFF#000000##FFFFFF
##3862C01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3862c0;
/* rgb */ color: rgb(56, 98, 192);
/* oklch */ color: oklch(51.7% 0.155 263.7);
Tailwind
colors: {
  custom: {
    50: '#7f8ed4',
    500: '#3862c0',
    950: '#000000',
  },
}
SCSS
$custom: #3862c0;
$custom-light: #7f8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#3862c0",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 221.471,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.15491,
    "h": 263.7
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#3862C0
secondary
#CBB689
accent
#B04ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3862C0

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

Preview Lab → · Contrast checker → · Palette generator →

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