#3865C7#3865C7

#3865C7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.161 H 263.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3865C7
RGBrgb(56, 101, 199)
HSLhsl(221, 56%, 50%)
HSVhsv(221, 72%, 78%)
CMYKcmyk(71.9%, 49.2%, 0%, 22%)
CIE-LABlab(44.62, 18.15, -55.63)
CIE-LCHlch(44.62, 58.52, 288.06°)
OKLaboklab(52.88% -0.0185 -0.1597)
OKLCHoklch(52.88% 0.161 263.4)
XYZxyz(16.5897, 14.2699, 55.9018)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3865C7 #C79A38
analogous
#38ACC7 #3865C7 #5338C7
triadic
#3865C7 #C73865 #65C738
tetradic
#3865C7 #C738AC #C79A38 #38C753
square
#3865C7 #C738AC #C79A38 #38C753
split-complementary
#3865C7 #C75338 #ACC738
monochromatic
#1D3567 #2B4D97 #3865C7 #688AD4 #98AFE2

Accessibility & contrast

On white

5.45
#3865C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3865C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3865C7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3865C7#FFFFFF#000000##FFFFFF
##3865C71.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)
#2D70CB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3865c7;
/* rgb */ color: rgb(56, 101, 199);
/* oklch */ color: oklch(52.9% 0.161 263.4);
Tailwind
colors: {
  custom: {
    50: '#8090d9',
    500: '#3865c7',
    950: '#000000',
  },
}
SCSS
$custom: #3865c7;
$custom-light: #8090d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3865c7",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 199
  },
  "hsl": {
    "h": 221.119,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.16082,
    "h": 263.4
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#3865C7
secondary
#CDB98D
accent
#B048DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3865C7

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

Preview Lab → · Contrast checker → · Palette generator →

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