#3857CB#3857CB

#3857CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.183 H 267.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3857CB
RGBrgb(56, 87, 203)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(72.4%, 57.1%, 0%, 20.4%)
CIE-LABlab(41.16, 28.61, -63.53)
CIE-LCHlch(41.16, 69.68, 294.24°)
OKLaboklab(50.36% -0.007 -0.1832)
OKLCHoklch(50.36% 0.183 267.8)
XYZxyz(15.8148, 11.9673, 57.9648)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857CB #CBAC38
analogous
#38A0CB #3857CB #6238CB
triadic
#3857CB #CB3857 #57CB38
tetradic
#3857CB #CB38A0 #CBAC38 #38CB62
square
#3857CB #CB38A0 #CBAC38 #38CB62
split-complementary
#3857CB #CB6238 #A0CB38
monochromatic
#1C2D6C #29419D #3857CB #6980D8 #99A9E4

Accessibility & contrast

On white

6.19
#3857CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3857CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857CB#FFFFFF#000000##FFFFFF
##3857CB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3857cb;
/* rgb */ color: rgb(56, 87, 203);
/* oklch */ color: oklch(50.4% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#8286dc',
    500: '#3857cb',
    950: '#000000',
  },
}
SCSS
$custom: #3857cb;
$custom-light: #8286dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3857cb",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 227.347,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.18335,
    "h": 267.8
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#3857CB
secondary
#D0C28F
accent
#C146E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3857CB

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

Preview Lab → · Contrast checker → · Palette generator →

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