#3864AF#3864AF

#3864AF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.0% C 0.129 H 260.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3864AF
RGBrgb(56, 100, 175)
HSLhsl(218, 52%, 45%)
HSVhsv(218, 68%, 69%)
CMYKcmyk(68%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.84, 9.97, -44.53)
CIE-LCHlch(42.84, 45.63, 282.62°)
OKLaboklab(51.03% -0.0216 -0.1271)
OKLCHoklch(51.03% 0.129 260.4)
XYZxyz(13.9232, 13.0488, 42.3340)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864AF #AF8338
analogous
#389FAF #3864AF #4738AF
triadic
#3864AF #AF3864 #64AF38
tetradic
#3864AF #AF389F #AF8338 #38AF47
square
#3864AF #AF389F #AF8338 #38AF47
split-complementary
#3864AF #AF4738 #9FAF38
monochromatic
#1A2F52 #294A81 #3864AF #5A83CA #88A6D9

Accessibility & contrast

On white

5.82
#3864AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3864AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864AF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864AF#FFFFFF#000000##FFFFFF
##3864AF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3864af;
/* rgb */ color: rgb(56, 100, 175);
/* oklch */ color: oklch(51.0% 0.129 260.4);
Tailwind
colors: {
  custom: {
    50: '#7c8fc7',
    500: '#3864af',
    950: '#000000',
  },
}
SCSS
$custom: #3864af;
$custom-light: #7c8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3864af",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 217.815,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.12894,
    "h": 260.4
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#3864AF
secondary
#C3AA80
accent
#A64DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3864AF

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

Preview Lab → · Contrast checker → · Palette generator →

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