#3861CF#3861CF

#3861CF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.177 H 265.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3861CF
RGBrgb(56, 97, 207)
HSLhsl(224, 61%, 52%)
HSVhsv(224, 73%, 81%)
CMYKcmyk(72.9%, 53.1%, 0%, 18.8%)
CIE-LABlab(44.08, 23.65, -61.11)
CIE-LCHlch(44.08, 65.52, 291.16°)
OKLaboklab(52.64% -0.0144 -0.1759)
OKLCHoklch(52.64% 0.177 265.3)
XYZxyz(17.1641, 13.8933, 60.7965)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3861CF #CFA638
analogous
#38ACCF #3861CF #5B38CF
triadic
#3861CF #CF3861 #61CF38
tetradic
#3861CF #CF38AC #CFA638 #38CF5B
square
#3861CF #CF38AC #CFA638 #38CF5B
split-complementary
#3861CF #CF5B38 #ACCF38
monochromatic
#1B3371 #2749A3 #3861CF #6988DB #9BAFE7

Accessibility & contrast

On white

5.56
#3861CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3861CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3861CF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3861CF#FFFFFF#000000##FFFFFF
##3861CF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3861cf;
/* rgb */ color: rgb(56, 97, 207);
/* oklch */ color: oklch(52.6% 0.177 265.3);
Tailwind
colors: {
  custom: {
    50: '#828dde',
    500: '#3861cf',
    950: '#000000',
  },
}
SCSS
$custom: #3861cf;
$custom-light: #828dde;
$custom-dark: #000000;
JSON
{
  "hex": "#3861cf",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 223.709,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.17651,
    "h": 265.3
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#3861CF
secondary
#D3C190
accent
#B944E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3861CF

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

Preview Lab → · Contrast checker → · Palette generator →

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