#3861BB#3861BB

#3861BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.149 H 263.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3861BB
RGBrgb(56, 97, 187)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 70%, 73%)
CMYKcmyk(70.1%, 48.1%, 0%, 26.7%)
CIE-LABlab(42.73, 16.29, -51.72)
CIE-LCHlch(42.73, 54.23, 287.49°)
OKLaboklab(51.19% -0.0167 -0.1483)
OKLCHoklch(51.19% 0.149 263.6)
XYZxyz(14.8721, 12.9765, 48.7250)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3861BB #BB9238
analogous
#38A3BB #3861BB #5038BB
triadic
#3861BB #BB3861 #61BB38
tetradic
#3861BB #BB38A3 #BB9238 #38BB50
square
#3861BB #BB38A3 #BB9238 #38BB50
split-complementary
#3861BB #BB5038 #A3BB38
monochromatic
#1C305D #2A498C #3861BB #6183D0 #90A8DE

Accessibility & contrast

On white

5.84
#3861BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3861BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3861BB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3861BB#FFFFFF#000000##FFFFFF
##3861BB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3861bb;
/* rgb */ color: rgb(56, 97, 187);
/* oklch */ color: oklch(51.2% 0.149 263.6);
Tailwind
colors: {
  custom: {
    50: '#7e8dd0',
    500: '#3861bb',
    950: '#000000',
  },
}
SCSS
$custom: #3861bb;
$custom-light: #7e8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3861bb",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 221.221,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.14924,
    "h": 263.6
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#3861BB
secondary
#C8B486
accent
#AF4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3861BB

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

Preview Lab → · Contrast checker → · Palette generator →

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