#3862CA#3862CA

#3862CA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.169 H 264.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3862CA
RGBrgb(56, 98, 202)
HSLhsl(223, 58%, 51%)
HSVhsv(223, 72%, 79%)
CMYKcmyk(72.3%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.00, 21.17, -58.36)
CIE-LCHlch(44.00, 62.08, 289.94°)
OKLaboklab(52.47% -0.0157 -0.1678)
OKLCHoklch(52.47% 0.169 264.7)
XYZxyz(16.6555, 13.8386, 57.6590)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862CA #CAA038
analogous
#38ABCA #3862CA #5738CA
triadic
#3862CA #CA3862 #62CA38
tetradic
#3862CA #CA38AB #CAA038 #38CA57
square
#3862CA #CA38AB #CAA038 #38CA57
split-complementary
#3862CA #CA5738 #ABCA38
monochromatic
#1D336B #294A9B #3862CA #6888D7 #99AEE4

Accessibility & contrast

On white

5.57
#3862CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3862CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862CA#FFFFFF#000000##FFFFFF
##3862CA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3862ca;
/* rgb */ color: rgb(56, 98, 202);
/* oklch */ color: oklch(52.5% 0.169 264.7);
Tailwind
colors: {
  custom: {
    50: '#818edb',
    500: '#3862ca',
    950: '#000000',
  },
}
SCSS
$custom: #3862ca;
$custom-light: #818edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3862ca",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 222.74,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.16855,
    "h": 264.7
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#3862CA
secondary
#CFBD8E
accent
#B547E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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