#3857AB#3857AB

#3857AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.139 H 266.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3857AB
RGBrgb(56, 87, 171)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 67%)
CMYKcmyk(67.3%, 49.1%, 0%, 32.9%)
CIE-LABlab(38.89, 16.90, -48.49)
CIE-LCHlch(38.89, 51.35, 289.21°)
OKLaboklab(47.92% -0.0096 -0.139)
OKLCHoklch(47.92% 0.139 266.1)
XYZxyz(12.3872, 10.5962, 39.9127)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857AB #AB8C38
analogous
#3891AB #3857AB #5338AB
triadic
#3857AB #AB3857 #57AB38
tetradic
#3857AB #AB3891 #AB8C38 #38AB53
square
#3857AB #AB3891 #AB8C38 #38AB53
split-complementary
#3857AB #AB5338 #91AB38
monochromatic
#1A284F #29407D #3857AB #5876C8 #869CD7

Accessibility & contrast

On white

6.73
#3857AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3857AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857AB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857AB#FFFFFF#000000##FFFFFF
##3857AB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3857ab;
/* rgb */ color: rgb(56, 87, 171);
/* oklch */ color: oklch(47.9% 0.139 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b85c4',
    500: '#3857ab',
    950: '#000000',
  },
}
SCSS
$custom: #3857ab;
$custom-light: #7b85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3857ab",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 223.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.1393,
    "h": 266.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#3857AB
secondary
#C1AF7D
accent
#B44EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3857AB

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

Preview Lab → · Contrast checker → · Palette generator →

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