#3862BB#3862BB

#3862BB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.148 H 263.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3862BB
RGBrgb(56, 98, 187)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 70%, 73%)
CMYKcmyk(70.1%, 47.6%, 0%, 26.7%)
CIE-LABlab(43.01, 15.65, -51.27)
CIE-LCHlch(43.01, 53.61, 286.97°)
OKLaboklab(51.4% -0.0176 -0.147)
OKLCHoklch(51.4% 0.148 263.2)
XYZxyz(14.9650, 13.1624, 48.7560)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862BB #BB9138
analogous
#38A4BB #3862BB #4F38BB
triadic
#3862BB #BB3862 #62BB38
tetradic
#3862BB #BB38A4 #BB9138 #38BB4F
square
#3862BB #BB38A4 #BB9138 #38BB4F
split-complementary
#3862BB #BB4F38 #A4BB38
monochromatic
#1C315D #2A498C #3862BB #6184D0 #90A9DE

Accessibility & contrast

On white

5.78
#3862BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3862BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862BB#FFFFFF#000000##FFFFFF
##3862BB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#1360B9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3862bb;
/* rgb */ color: rgb(56, 98, 187);
/* oklch */ color: oklch(51.4% 0.148 263.2);
Tailwind
colors: {
  custom: {
    50: '#7e8ed0',
    500: '#3862bb',
    950: '#000000',
  },
}
SCSS
$custom: #3862bb;
$custom-light: #7e8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3862bb",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 220.763,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.14802,
    "h": 263.2
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#3862BB
secondary
#C8B386
accent
#AE4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3862BB

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

Preview Lab → · Contrast checker → · Palette generator →

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