#3862BC#3862BC

#3862BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.149 H 263.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3862BC
RGBrgb(56, 98, 188)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 70%, 74%)
CMYKcmyk(70.2%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.07, 16.02, -51.75)
CIE-LCHlch(43.07, 54.18, 287.20°)
OKLaboklab(51.47% -0.0174 -0.1484)
OKLCHoklch(51.47% 0.149 263.3)
XYZxyz(15.0725, 13.2054, 49.3218)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862BC #BC9238
analogous
#38A4BC #3862BC #5038BC
triadic
#3862BC #BC3862 #62BC38
tetradic
#3862BC #BC38A4 #BC9238 #38BC50
square
#3862BC #BC38A4 #BC9238 #38BC50
split-complementary
#3862BC #BC5038 #A4BC38
monochromatic
#1C315E #2A498D #3862BC #6184D0 #90A9DE

Accessibility & contrast

On white

5.77
#3862BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3862BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862BC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862BC#FFFFFF#000000##FFFFFF
##3862BC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#1060BA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3862bc;
/* rgb */ color: rgb(56, 98, 188);
/* oklch */ color: oklch(51.5% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7e8ed1',
    500: '#3862bc',
    950: '#000000',
  },
}
SCSS
$custom: #3862bc;
$custom-light: #7e8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3862bc",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 220.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.1494,
    "h": 263.3
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#3862BC
secondary
#C9B487
accent
#AF4ADD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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