#3864A2#3864A2

#3864A2 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.2% C 0.111 H 257.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3864A2
RGBrgb(56, 100, 162)
HSLhsl(215, 49%, 43%)
HSVhsv(215, 65%, 64%)
CMYKcmyk(65.4%, 38.3%, 0%, 36.5%)
CIE-LABlab(42.10, 5.25, -38.04)
CIE-LCHlch(42.10, 38.40, 277.86°)
OKLaboklab(50.22% -0.0245 -0.1081)
OKLCHoklch(50.22% 0.111 257.2)
XYZxyz(12.7073, 12.5625, 35.9305)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864A2 #A27638
analogous
#3899A2 #3864A2 #4138A2
triadic
#3864A2 #A23864 #64A238
tetradic
#3864A2 #A23899 #A27638 #38A241
square
#3864A2 #A23899 #A27638 #38A241
split-complementary
#3864A2 #A24138 #99A238
monochromatic
#192C47 #284875 #3864A2 #5382C4 #81A3D3

Accessibility & contrast

On white

5.98
#3864A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3864A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3864A2#FFFFFF#000000##FFFFFF
##3864A21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3864a2;
/* rgb */ color: rgb(56, 100, 162);
/* oklch */ color: oklch(50.2% 0.111 257.2);
Tailwind
colors: {
  custom: {
    50: '#798fbe',
    500: '#3864a2',
    950: '#000000',
  },
}
SCSS
$custom: #3864a2;
$custom-light: #798fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3864a2",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 215.094,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.11083,
    "h": 257.2
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#3864A2
secondary
#BDA179
accent
#9F50D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3864A2

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

Preview Lab → · Contrast checker → · Palette generator →

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