#3864EA#3864EA

#3864EA is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.3% C 0.208 H 265.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3864EA
RGBrgb(56, 100, 234)
HSLhsl(225, 81%, 57%)
HSVhsv(225, 76%, 92%)
CMYKcmyk(76.1%, 57.3%, 0%, 8.2%)
CIE-LABlab(46.83, 31.60, -71.97)
CIE-LCHlch(46.83, 78.61, 293.70°)
OKLaboklab(55.34% -0.0149 -0.2078)
OKLCHoklch(55.34% 0.208 265.9)
XYZxyz(21.0341, 15.8932, 79.7851)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864EA #EABE38
analogous
#38BDEA #3864EA #6538EA
triadic
#3864EA #EA3864 #64EA38
tetradic
#3864EA #EA38BD #EABE38 #38EA65
square
#3864EA #EA38BD #EABE38 #38EA65
split-complementary
#3864EA #EA6538 #BDEA38
monochromatic
#103298 #1644CF #3864EA #6F8FF0 #A7BAF6

Accessibility & contrast

On white

5.02
#3864EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3864EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3864EA#FFFFFF#000000##FFFFFF
##3864EA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3864ea;
/* rgb */ color: rgb(56, 100, 234);
/* oklch */ color: oklch(55.3% 0.208 265.9);
Tailwind
colors: {
  custom: {
    50: '#888ff2',
    500: '#3864ea',
    950: '#000000',
  },
}
SCSS
$custom: #3864ea;
$custom-light: #888ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#3864ea",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 225.169,
    "s": 80.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.20837,
    "h": 265.9
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#3864EA
secondary
#E3D19B
accent
#C630F7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3864EA

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

Preview Lab → · Contrast checker → · Palette generator →

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