#3864CF#3864CF

#3864CF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.173 H 264.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3864CF
RGBrgb(56, 100, 207)
HSLhsl(223, 61%, 52%)
HSVhsv(223, 73%, 81%)
CMYKcmyk(72.9%, 51.7%, 0%, 18.8%)
CIE-LABlab(44.88, 21.73, -59.81)
CIE-LCHlch(44.88, 63.63, 289.97°)
OKLaboklab(53.25% -0.0168 -0.172)
OKLCHoklch(53.25% 0.173 264.4)
XYZxyz(17.4466, 14.4582, 60.8906)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864CF #CFA338
analogous
#38AFCF #3864CF #5838CF
triadic
#3864CF #CF3864 #64CF38
tetradic
#3864CF #CF38AF #CFA338 #38CF58
square
#3864CF #CF38AF #CFA338 #38CF58
split-complementary
#3864CF #CF5838 #AFCF38
monochromatic
#1B3471 #274BA3 #3864CF #698ADB #9BB1E7

Accessibility & contrast

On white

5.40
#3864CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3864CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864CF#FFFFFF#000000##FFFFFF
##3864CF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3864cf;
/* rgb */ color: rgb(56, 100, 207);
/* oklch */ color: oklch(53.3% 0.173 264.4);
Tailwind
colors: {
  custom: {
    50: '#828fde',
    500: '#3864cf',
    950: '#000000',
  },
}
SCSS
$custom: #3864cf;
$custom-light: #828fde;
$custom-dark: #000000;
JSON
{
  "hex": "#3864cf",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 222.517,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.17287,
    "h": 264.4
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#3864CF
secondary
#D3BF90
accent
#B544E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864CF

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

Preview Lab → · Contrast checker → · Palette generator →

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