#3865C5#3865C5

#3865C5 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.158 H 263.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3865C5
RGBrgb(56, 101, 197)
HSLhsl(221, 56%, 50%)
HSVhsv(221, 72%, 77%)
CMYKcmyk(71.6%, 48.7%, 0%, 22.7%)
CIE-LABlab(44.49, 17.41, -54.69)
CIE-LCHlch(44.49, 57.40, 287.66°)
OKLaboklab(52.74% -0.0188 -0.157)
OKLCHoklch(52.74% 0.158 263.2)
XYZxyz(16.3590, 14.1776, 54.6869)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3865C5 #C59838
analogous
#38ACC5 #3865C5 #5238C5
triadic
#3865C5 #C53865 #65C538
tetradic
#3865C5 #C538AC #C59838 #38C552
square
#3865C5 #C538AC #C59838 #38C552
split-complementary
#3865C5 #C55238 #ACC538
monochromatic
#1D3466 #2A4D95 #3865C5 #6789D4 #96AEE1

Accessibility & contrast

On white

5.47
#3865C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3865C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3865C5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3865C5#FFFFFF#000000##FFFFFF
##3865C51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3865c5;
/* rgb */ color: rgb(56, 101, 197);
/* oklch */ color: oklch(52.7% 0.158 263.2);
Tailwind
colors: {
  custom: {
    50: '#8090d7',
    500: '#3865c5',
    950: '#000000',
  },
}
SCSS
$custom: #3865c5;
$custom-light: #8090d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3865c5",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 197
  },
  "hsl": {
    "h": 220.851,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.1581,
    "h": 263.2
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#3865C5
secondary
#CDB88C
accent
#AF49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3865C5

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

Preview Lab → · Contrast checker → · Palette generator →

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