#3864CC#3864CC

#3864CC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.169 H 264.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3864CC
RGBrgb(56, 100, 204)
HSLhsl(222, 59%, 51%)
HSVhsv(222, 73%, 80%)
CMYKcmyk(72.5%, 51%, 0%, 20%)
CIE-LABlab(44.68, 20.63, -58.41)
CIE-LCHlch(44.68, 61.95, 289.45°)
OKLaboklab(53.03% -0.0171 -0.1679)
OKLCHoklch(53.03% 0.169 264.2)
XYZxyz(17.0833, 14.3129, 58.9774)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864CC #CCA038
analogous
#38AECC #3864CC #5638CC
triadic
#3864CC #CC3864 #64CC38
tetradic
#3864CC #CC38AE #CCA038 #38CC56
square
#3864CC #CC38AE #CCA038 #38CC56
split-complementary
#3864CC #CC5638 #AECC38
monochromatic
#1C346E #294C9E #3864CC #698AD8 #99B0E5

Accessibility & contrast

On white

5.44
#3864CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3864CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864CC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864CC#FFFFFF#000000##FFFFFF
##3864CC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3864cc;
/* rgb */ color: rgb(56, 100, 204);
/* oklch */ color: oklch(53.0% 0.169 264.2);
Tailwind
colors: {
  custom: {
    50: '#828fdc',
    500: '#3864cc',
    950: '#000000',
  },
}
SCSS
$custom: #3864cc;
$custom-light: #828fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3864cc",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 222.162,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.16882,
    "h": 264.2
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#3864CC
secondary
#D1BD8F
accent
#B445E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864CC

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

Preview Lab → · Contrast checker → · Palette generator →

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