#3864CA#3864CA

#3864CA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.166 H 264.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3864CA
RGBrgb(56, 100, 202)
HSLhsl(222, 58%, 51%)
HSVhsv(222, 72%, 79%)
CMYKcmyk(72.3%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.54, 19.89, -57.48)
CIE-LCHlch(44.54, 60.83, 289.09°)
OKLaboklab(52.89% -0.0173 -0.1652)
OKLCHoklch(52.89% 0.166 264)
XYZxyz(16.8450, 14.2176, 57.7222)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864CA #CA9E38
analogous
#38ADCA #3864CA #5538CA
triadic
#3864CA #CA3864 #64CA38
tetradic
#3864CA #CA38AD #CA9E38 #38CA55
square
#3864CA #CA38AD #CA9E38 #38CA55
split-complementary
#3864CA #CA5538 #ADCA38
monochromatic
#1D346B #294C9B #3864CA #688AD7 #99AFE4

Accessibility & contrast

On white

5.46
#3864CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3864CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864CA#FFFFFF#000000##FFFFFF
##3864CA1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2670CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3864ca;
/* rgb */ color: rgb(56, 100, 202);
/* oklch */ color: oklch(52.9% 0.166 264.0);
Tailwind
colors: {
  custom: {
    50: '#818fdb',
    500: '#3864ca',
    950: '#000000',
  },
}
SCSS
$custom: #3864ca;
$custom-light: #818fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3864ca",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 221.918,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.16612,
    "h": 264
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#3864CA
secondary
#CFBC8E
accent
#B347E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864CA

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

Preview Lab → · Contrast checker → · Palette generator →

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