#3864CD#3864CD

#3864CD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.170 H 264.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3864CD
RGBrgb(56, 100, 205)
HSLhsl(222, 60%, 51%)
HSVhsv(222, 73%, 80%)
CMYKcmyk(72.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(44.75, 21.00, -58.88)
CIE-LCHlch(44.75, 62.51, 289.63°)
OKLaboklab(53.11% -0.017 -0.1693)
OKLCHoklch(53.11% 0.17 264.3)
XYZxyz(17.2036, 14.3610, 59.6111)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864CD #CDA138
analogous
#38AECD #3864CD #5638CD
triadic
#3864CD #CD3864 #64CD38
tetradic
#3864CD #CD38AE #CDA138 #38CD56
square
#3864CD #CD38AE #CDA138 #38CD56
split-complementary
#3864CD #CD5638 #AECD38
monochromatic
#1C346F #284BA0 #3864CD #698AD9 #9AB0E6

Accessibility & contrast

On white

5.42
#3864CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3864CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864CD#FFFFFF#000000##FFFFFF
##3864CD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3864cd;
/* rgb */ color: rgb(56, 100, 205);
/* oklch */ color: oklch(53.1% 0.170 264.3);
Tailwind
colors: {
  custom: {
    50: '#828fdd',
    500: '#3864cd',
    950: '#000000',
  },
}
SCSS
$custom: #3864cd;
$custom-light: #828fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3864cd",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 222.282,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.17017,
    "h": 264.3
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#3864CD
secondary
#D1BE8F
accent
#B445E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864CD

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

Preview Lab → · Contrast checker → · Palette generator →

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