#3865CC#3865CC

#3865CC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.168 H 263.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3865CC
RGBrgb(56, 101, 204)
HSLhsl(222, 59%, 51%)
HSVhsv(222, 73%, 80%)
CMYKcmyk(72.5%, 50.5%, 0%, 20%)
CIE-LABlab(44.95, 19.99, -57.98)
CIE-LCHlch(44.95, 61.32, 289.02°)
OKLaboklab(53.24% -0.0179 -0.1666)
OKLCHoklch(53.24% 0.168 263.9)
XYZxyz(17.1798, 14.5059, 59.0095)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3865CC #CC9F38
analogous
#38AFCC #3865CC #5538CC
triadic
#3865CC #CC3865 #65CC38
tetradic
#3865CC #CC38AF #CC9F38 #38CC55
square
#3865CC #CC38AF #CC9F38 #38CC55
split-complementary
#3865CC #CC5538 #AFCC38
monochromatic
#1C356E #294C9E #3865CC #698BD8 #99B0E5

Accessibility & contrast

On white

5.38
#3865CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3865CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3865CC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3865CC#FFFFFF#000000##FFFFFF
##3865CC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3865cc;
/* rgb */ color: rgb(56, 101, 204);
/* oklch */ color: oklch(53.2% 0.168 263.9);
Tailwind
colors: {
  custom: {
    50: '#8190dc',
    500: '#3865cc',
    950: '#000000',
  },
}
SCSS
$custom: #3865cc;
$custom-light: #8190dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3865cc",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 221.757,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.1676,
    "h": 263.9
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#3865CC
secondary
#D1BD8F
accent
#B345E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3865CC

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

Preview Lab → · Contrast checker → · Palette generator →

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