#3861BC#3861BC

#3861BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.151 H 263.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3861BC
RGBrgb(56, 97, 188)
HSLhsl(221, 54%, 48%)
HSVhsv(221, 70%, 74%)
CMYKcmyk(70.2%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.79, 16.66, -52.20)
CIE-LCHlch(42.79, 54.80, 287.70°)
OKLaboklab(51.26% -0.0165 -0.1497)
OKLCHoklch(51.26% 0.151 263.7)
XYZxyz(14.9795, 13.0194, 49.2908)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3861BC #BC9338
analogous
#38A3BC #3861BC #5138BC
triadic
#3861BC #BC3861 #61BC38
tetradic
#3861BC #BC38A3 #BC9338 #38BC51
square
#3861BC #BC38A3 #BC9338 #38BC51
split-complementary
#3861BC #BC5138 #A3BC38
monochromatic
#1C305E #2A498D #3861BC #6184D0 #90A8DE

Accessibility & contrast

On white

5.83
#3861BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3861BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3861BC#FFFFFF#000000##FFFFFF
##3861BC1.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)
#2F6BBF
Deuteranopia (green-blind)
#095FBA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3861bc;
/* rgb */ color: rgb(56, 97, 188);
/* oklch */ color: oklch(51.3% 0.151 263.7);
Tailwind
colors: {
  custom: {
    50: '#7e8dd1',
    500: '#3861bc',
    950: '#000000',
  },
}
SCSS
$custom: #3861bc;
$custom-light: #7e8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3861bc",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 221.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.15063,
    "h": 263.7
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3861BC

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

Preview Lab → · Contrast checker → · Palette generator →

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