#3864AA#3864AA

#3864AA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.7% C 0.122 H 259.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3864AA
RGBrgb(56, 100, 170)
HSLhsl(217, 50%, 44%)
HSVhsv(217, 67%, 67%)
CMYKcmyk(67.1%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.55, 8.15, -42.05)
CIE-LCHlch(42.55, 42.84, 280.96°)
OKLaboklab(50.71% -0.0226 -0.1198)
OKLCHoklch(50.71% 0.122 259.3)
XYZxyz(13.4412, 12.8560, 39.7955)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864AA #AA7E38
analogous
#389DAA #3864AA #4538AA
triadic
#3864AA #AA3864 #64AA38
tetradic
#3864AA #AA389D #AA7E38 #38AA45
square
#3864AA #AA389D #AA7E38 #38AA45
split-complementary
#3864AA #AA4538 #9DAA38
monochromatic
#1A2E4E #29497C #3864AA #5783C8 #85A5D7

Accessibility & contrast

On white

5.88
#3864AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3864AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3864AA#FFFFFF#000000##FFFFFF
##3864AA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3864aa;
/* rgb */ color: rgb(56, 100, 170);
/* oklch */ color: oklch(50.7% 0.122 259.3);
Tailwind
colors: {
  custom: {
    50: '#7b8fc4',
    500: '#3864aa',
    950: '#000000',
  },
}
SCSS
$custom: #3864aa;
$custom-light: #7b8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3864aa",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 216.842,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.12197,
    "h": 259.3
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#3864AA
secondary
#C1A77D
accent
#A44EDA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3864AA

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

Preview Lab → · Contrast checker → · Palette generator →

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