#3864CB#3864CB

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

Color values

HEX#3864CB
RGBrgb(56, 100, 203)
HSLhsl(222, 59%, 51%)
HSVhsv(222, 72%, 80%)
CMYKcmyk(72.4%, 50.7%, 0%, 20.4%)
CIE-LABlab(44.61, 20.26, -57.95)
CIE-LCHlch(44.61, 61.39, 289.27°)
OKLaboklab(52.96% -0.0172 -0.1666)
OKLCHoklch(52.96% 0.167 264.1)
XYZxyz(16.9637, 14.2651, 58.3477)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864CB #CB9F38
analogous
#38ADCB #3864CB #5538CB
triadic
#3864CB #CB3864 #64CB38
tetradic
#3864CB #CB38AD #CB9F38 #38CB55
square
#3864CB #CB38AD #CB9F38 #38CB55
split-complementary
#3864CB #CB5538 #ADCB38
monochromatic
#1C346C #294C9D #3864CB #698AD8 #99B0E4

Accessibility & contrast

On white

5.45
#3864CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3864CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864CB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864CB#FFFFFF#000000##FFFFFF
##3864CB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3864cb;
/* rgb */ color: rgb(56, 100, 203);
/* oklch */ color: oklch(53.0% 0.167 264.1);
Tailwind
colors: {
  custom: {
    50: '#818fdb',
    500: '#3864cb',
    950: '#000000',
  },
}
SCSS
$custom: #3864cb;
$custom-light: #818fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3864cb",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 222.041,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.16747,
    "h": 264.1
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#3864CB
secondary
#D0BC8F
accent
#B346E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864CB

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

Preview Lab → · Contrast checker → · Palette generator →

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