#3861CA#3861CA

#3861CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.170 H 265.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3861CA
RGBrgb(56, 97, 202)
HSLhsl(223, 58%, 51%)
HSVhsv(223, 72%, 79%)
CMYKcmyk(72.3%, 52%, 0%, 20.8%)
CIE-LABlab(43.73, 21.82, -58.79)
CIE-LCHlch(43.73, 62.71, 290.36°)
OKLaboklab(52.27% -0.0149 -0.1691)
OKLCHoklch(52.27% 0.17 265)
XYZxyz(16.5625, 13.6526, 57.6280)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3861CA #CAA138
analogous
#38AACA #3861CA #5838CA
triadic
#3861CA #CA3861 #61CA38
tetradic
#3861CA #CA38AA #CAA138 #38CA58
square
#3861CA #CA38AA #CAA138 #38CA58
split-complementary
#3861CA #CA5838 #AACA38
monochromatic
#1D336B #29499B #3861CA #6887D7 #99AEE4

Accessibility & contrast

On white

5.63
#3861CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3861CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3861CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3861CA#FFFFFF#000000##FFFFFF
##3861CA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3861ca;
/* rgb */ color: rgb(56, 97, 202);
/* oklch */ color: oklch(52.3% 0.170 265.0);
Tailwind
colors: {
  custom: {
    50: '#818ddb',
    500: '#3861ca',
    950: '#000000',
  },
}
SCSS
$custom: #3861ca;
$custom-light: #818ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3861ca",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 223.151,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.16977,
    "h": 265
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#3861CA
secondary
#CFBD8E
accent
#B647E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3861CA

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

Preview Lab → · Contrast checker → · Palette generator →

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