#3862B7#3862B7

#3862B7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.142 H 262.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3862B7
RGBrgb(56, 98, 183)
HSLhsl(220, 53%, 47%)
HSVhsv(220, 69%, 72%)
CMYKcmyk(69.4%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.75, 14.18, -49.35)
CIE-LCHlch(42.75, 51.34, 286.03°)
OKLaboklab(51.12% -0.0182 -0.1413)
OKLCHoklch(51.12% 0.142 262.7)
XYZxyz(14.5428, 12.9935, 46.5321)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862B7 #B78D38
analogous
#38A2B7 #3862B7 #4D38B7
triadic
#3862B7 #B73862 #62B738
tetradic
#3862B7 #B738A2 #B78D38 #38B74D
square
#3862B7 #B738A2 #B78D38 #38B74D
split-complementary
#3862B7 #B74D38 #A2B738
monochromatic
#1B3059 #2A4988 #3862B7 #5E83CE #8DA7DC

Accessibility & contrast

On white

5.83
#3862B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3862B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862B7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862B7#FFFFFF#000000##FFFFFF
##3862B71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#1C5FB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3862b7;
/* rgb */ color: rgb(56, 98, 183);
/* oklch */ color: oklch(51.1% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7d8ecd',
    500: '#3862b7',
    950: '#000000',
  },
}
SCSS
$custom: #3862b7;
$custom-light: #7d8ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3862b7",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 220.157,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.14248,
    "h": 262.7
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#3862B7
secondary
#C7B184
accent
#AC4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3862B7

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

Preview Lab → · Contrast checker → · Palette generator →

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