#3857AC#3857AC

#3857AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.141 H 266.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3857AC
RGBrgb(56, 87, 172)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 67%)
CMYKcmyk(67.4%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.96, 17.27, -48.98)
CIE-LCHlch(38.96, 51.93, 289.42°)
OKLaboklab(47.99% -0.0094 -0.1404)
OKLCHoklch(47.99% 0.141 266.2)
XYZxyz(12.4829, 10.6345, 40.4165)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857AC #AC8D38
analogous
#3891AC #3857AC #5338AC
triadic
#3857AC #AC3857 #57AC38
tetradic
#3857AC #AC3891 #AC8D38 #38AC53
square
#3857AC #AC3891 #AC8D38 #38AC53
split-complementary
#3857AC #AC5338 #91AC38
monochromatic
#1A2850 #29407E #3857AC #5876C9 #879CD8

Accessibility & contrast

On white

6.72
#3857AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3857AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857AC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857AC#FFFFFF#000000##FFFFFF
##3857AC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0857AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3857ac;
/* rgb */ color: rgb(56, 87, 172);
/* oklch */ color: oklch(48.0% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c85c5',
    500: '#3857ac',
    950: '#000000',
  },
}
SCSS
$custom: #3857ac;
$custom-light: #7c85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3857ac",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 223.966,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.14072,
    "h": 266.2
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#3857AC
secondary
#C2B07E
accent
#B54DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3857AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3857AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva