#3862C2#3862C2

#3862C2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.158 H 264.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3862C2
RGBrgb(56, 98, 194)
HSLhsl(222, 55%, 49%)
HSVhsv(222, 71%, 76%)
CMYKcmyk(71.1%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.46, 18.23, -54.61)
CIE-LCHlch(43.46, 57.57, 288.46°)
OKLaboklab(51.89% -0.0166 -0.1568)
OKLCHoklch(51.89% 0.158 264)
XYZxyz(15.7327, 13.4695, 52.7992)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862C2 #C29838
analogous
#38A7C2 #3862C2 #5338C2
triadic
#3862C2 #C23862 #62C238
tetradic
#3862C2 #C238A7 #C29838 #38C253
square
#3862C2 #C238A7 #C29838 #38C253
split-complementary
#3862C2 #C25338 #A7C238
monochromatic
#1D3263 #2A4A93 #3862C2 #6586D2 #94ABE0

Accessibility & contrast

On white

5.68
#3862C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3862C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862C2#FFFFFF#000000##FFFFFF
##3862C21.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3862c2;
/* rgb */ color: rgb(56, 98, 194);
/* oklch */ color: oklch(51.9% 0.158 264.0);
Tailwind
colors: {
  custom: {
    50: '#808ed5',
    500: '#3862c2',
    950: '#000000',
  },
}
SCSS
$custom: #3862c2;
$custom-light: #808ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3862c2",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 221.739,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.15766,
    "h": 264
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#3862C2
secondary
#CBB88A
accent
#B149DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3862C2

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

Preview Lab → · Contrast checker → · Palette generator →

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