#3864C7#3864C7

#3864C7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.162 H 263.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3864C7
RGBrgb(56, 100, 199)
HSLhsl(222, 56%, 50%)
HSVhsv(222, 72%, 78%)
CMYKcmyk(71.9%, 49.7%, 0%, 22%)
CIE-LABlab(44.34, 18.79, -56.08)
CIE-LCHlch(44.34, 59.14, 288.52°)
OKLaboklab(52.67% -0.0177 -0.1611)
OKLCHoklch(52.67% 0.162 263.7)
XYZxyz(16.4932, 14.0769, 55.8696)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864C7 #C79B38
analogous
#38ACC7 #3864C7 #5338C7
triadic
#3864C7 #C73864 #64C738
tetradic
#3864C7 #C738AC #C79B38 #38C753
square
#3864C7 #C738AC #C79B38 #38C753
split-complementary
#3864C7 #C75338 #ACC738
monochromatic
#1D3467 #2B4C97 #3864C7 #6889D4 #98AEE2

Accessibility & contrast

On white

5.50
#3864C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#3864C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864C7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864C7#FFFFFF#000000##FFFFFF
##3864C71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3864c7;
/* rgb */ color: rgb(56, 100, 199);
/* oklch */ color: oklch(52.7% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#808fd9',
    500: '#3864c7',
    950: '#000000',
  },
}
SCSS
$custom: #3864c7;
$custom-light: #808fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3864c7",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 221.538,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.16204,
    "h": 263.7
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#3864C7
secondary
#CDBA8D
accent
#B148DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3864C7

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

Preview Lab → · Contrast checker → · Palette generator →

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