#3864E6#3864E6

#3864E6 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.0% C 0.203 H 265.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3864E6
RGBrgb(56, 100, 230)
HSLhsl(225, 78%, 56%)
HSVhsv(225, 76%, 90%)
CMYKcmyk(75.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(46.53, 30.15, -70.21)
CIE-LCHlch(46.53, 76.41, 293.24°)
OKLaboklab(55.02% -0.0151 -0.2026)
OKLCHoklch(55.02% 0.203 265.7)
XYZxyz(20.4660, 15.6660, 76.7928)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864E6 #E6BA38
analogous
#38BBE6 #3864E6 #6338E6
triadic
#3864E6 #E63864 #64E638
tetradic
#3864E6 #E638BB #E6BA38 #38E663
square
#3864E6 #E638BB #E6BA38 #38E663
split-complementary
#3864E6 #E66338 #BBE638
monochromatic
#123291 #1945C8 #3864E6 #6E8EED #A5B9F4

Accessibility & contrast

On white

5.08
#3864E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3864E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3864E6#FFFFFF#000000##FFFFFF
##3864E61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3864e6;
/* rgb */ color: rgb(56, 100, 230);
/* oklch */ color: oklch(55.0% 0.203 265.7);
Tailwind
colors: {
  custom: {
    50: '#878fef',
    500: '#3864e6',
    950: '#000000',
  },
}
SCSS
$custom: #3864e6;
$custom-light: #878fef;
$custom-dark: #000000;
JSON
{
  "hex": "#3864e6",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 224.828,
    "s": 77.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.2032,
    "h": 265.7
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#3864E6
secondary
#E1CF99
accent
#C334F4
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3864E6

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

Preview Lab → · Contrast checker → · Palette generator →

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