#3862C3#3862C3

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

Color values

HEX#3862C3
RGBrgb(56, 98, 195)
HSLhsl(222, 55%, 49%)
HSVhsv(222, 71%, 76%)
CMYKcmyk(71.3%, 49.7%, 0%, 23.5%)
CIE-LABlab(43.53, 18.60, -55.08)
CIE-LCHlch(43.53, 58.13, 288.66°)
OKLaboklab(51.96% -0.0165 -0.1582)
OKLCHoklch(51.96% 0.159 264)
XYZxyz(15.8454, 13.5146, 53.3927)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862C3 #C39938
analogous
#38A7C3 #3862C3 #5438C3
triadic
#3862C3 #C33862 #62C338
tetradic
#3862C3 #C338A7 #C39938 #38C354
square
#3862C3 #C338A7 #C39938 #38C354
split-complementary
#3862C3 #C35438 #A7C338
monochromatic
#1D3264 #2A4A93 #3862C3 #6586D3 #95ACE1

Accessibility & contrast

On white

5.67
#3862C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3862C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862C3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862C3#FFFFFF#000000##FFFFFF
##3862C31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3862c3;
/* rgb */ color: rgb(56, 98, 195);
/* oklch */ color: oklch(52.0% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#808ed6',
    500: '#3862c3',
    950: '#000000',
  },
}
SCSS
$custom: #3862c3;
$custom-light: #808ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3862c3",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 195
  },
  "hsl": {
    "h": 221.871,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.15903,
    "h": 264
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3862C3

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

Preview Lab → · Contrast checker → · Palette generator →

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