#3862BE#3862BE

#3862BE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.152 H 263.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3862BE
RGBrgb(56, 98, 190)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 71%, 75%)
CMYKcmyk(70.5%, 48.4%, 0%, 25.5%)
CIE-LABlab(43.20, 16.76, -52.71)
CIE-LCHlch(43.20, 55.31, 287.63°)
OKLaboklab(51.61% -0.0171 -0.1512)
OKLCHoklch(51.61% 0.152 263.5)
XYZxyz(15.2895, 13.2922, 50.4651)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862BE #BE9438
analogous
#38A5BE #3862BE #5138BE
triadic
#3862BE #BE3862 #62BE38
tetradic
#3862BE #BE38A5 #BE9438 #38BE51
square
#3862BE #BE38A5 #BE9438 #38BE51
split-complementary
#3862BE #BE5138 #A5BE38
monochromatic
#1C315F #2A4A8F #3862BE #6285D1 #92AADF

Accessibility & contrast

On white

5.74
#3862BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3862BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862BE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862BE#FFFFFF#000000##FFFFFF
##3862BE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC1
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3862be;
/* rgb */ color: rgb(56, 98, 190);
/* oklch */ color: oklch(51.6% 0.152 263.5);
Tailwind
colors: {
  custom: {
    50: '#7f8ed2',
    500: '#3862be',
    950: '#000000',
  },
}
SCSS
$custom: #3862be;
$custom-light: #7f8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3862be",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 221.194,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.15216,
    "h": 263.5
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#3862BE
secondary
#CAB588
accent
#AF4ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3862BE

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

Preview Lab → · Contrast checker → · Palette generator →

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