#3865BF#3865BF

#3865BF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.150 H 262.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3865BF
RGBrgb(56, 101, 191)
HSLhsl(220, 55%, 48%)
HSVhsv(220, 71%, 75%)
CMYKcmyk(70.7%, 47.1%, 0%, 25.1%)
CIE-LABlab(44.10, 15.20, -51.84)
CIE-LCHlch(44.10, 54.02, 286.34°)
OKLaboklab(52.32% -0.0197 -0.1486)
OKLCHoklch(52.32% 0.15 262.5)
XYZxyz(15.6852, 13.9081, 51.1380)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3865BF #BF9238
analogous
#38A8BF #3865BF #4E38BF
triadic
#3865BF #BF3865 #65BF38
tetradic
#3865BF #BF38A8 #BF9238 #38BF4E
square
#3865BF #BF38A8 #BF9238 #38BF4E
split-complementary
#3865BF #BF4E38 #A8BF38
monochromatic
#1C3360 #2A4C90 #3865BF #6388D1 #92ACDF

Accessibility & contrast

On white

5.55
#3865BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3865BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3865BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3865BF#FFFFFF#000000##FFFFFF
##3865BF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3865bf;
/* rgb */ color: rgb(56, 101, 191);
/* oklch */ color: oklch(52.3% 0.150 262.5);
Tailwind
colors: {
  custom: {
    50: '#7f90d3',
    500: '#3865bf',
    950: '#000000',
  },
}
SCSS
$custom: #3865bf;
$custom-light: #7f90d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3865bf",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 220,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.14989,
    "h": 262.5
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#3865BF
secondary
#CAB489
accent
#AD4ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3865BF

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

Preview Lab → · Contrast checker → · Palette generator →

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