#3861CD#3861CD

#3861CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.174 H 265.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3861CD
RGBrgb(56, 97, 205)
HSLhsl(223, 60%, 51%)
HSVhsv(223, 73%, 80%)
CMYKcmyk(72.7%, 52.7%, 0%, 19.6%)
CIE-LABlab(43.94, 22.92, -60.18)
CIE-LCHlch(43.94, 64.40, 290.85°)
OKLaboklab(52.49% -0.0146 -0.1732)
OKLCHoklch(52.49% 0.174 265.2)
XYZxyz(16.9211, 13.7961, 59.5169)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3861CD #CDA438
analogous
#38ABCD #3861CD #5938CD
triadic
#3861CD #CD3861 #61CD38
tetradic
#3861CD #CD38AB #CDA438 #38CD59
square
#3861CD #CD38AB #CDA438 #38CD59
split-complementary
#3861CD #CD5938 #ABCD38
monochromatic
#1C336F #2849A0 #3861CD #6988D9 #9AAFE6

Accessibility & contrast

On white

5.59
#3861CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3861CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3861CD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3861CD#FFFFFF#000000##FFFFFF
##3861CD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3861cd;
/* rgb */ color: rgb(56, 97, 205);
/* oklch */ color: oklch(52.5% 0.174 265.2);
Tailwind
colors: {
  custom: {
    50: '#828ddd',
    500: '#3861cd',
    950: '#000000',
  },
}
SCSS
$custom: #3861cd;
$custom-light: #828ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#3861cd",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 223.49,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.17382,
    "h": 265.2
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#3861CD
secondary
#D1BF8F
accent
#B745E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3861CD

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

Preview Lab → · Contrast checker → · Palette generator →

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