#3857CD#3857CD

#3857CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.186 H 267.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3857CD
RGBrgb(56, 87, 205)
HSLhsl(228, 60%, 51%)
HSVhsv(228, 73%, 80%)
CMYKcmyk(72.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(41.32, 29.34, -64.44)
CIE-LCHlch(41.32, 70.81, 294.48°)
OKLaboklab(50.52% -0.0069 -0.1859)
OKLCHoklch(50.52% 0.186 267.9)
XYZxyz(16.0547, 12.0632, 59.2281)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857CD #CDAE38
analogous
#38A1CD #3857CD #6338CD
triadic
#3857CD #CD3857 #57CD38
tetradic
#3857CD #CD38A1 #CDAE38 #38CD63
square
#3857CD #CD38A1 #CDAE38 #38CD63
split-complementary
#3857CD #CD6338 #A1CD38
monochromatic
#1C2D6F #2841A0 #3857CD #6980D9 #9AAAE6

Accessibility & contrast

On white

6.15
#3857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3857CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857CD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857CD#FFFFFF#000000##FFFFFF
##3857CD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3857cd;
/* rgb */ color: rgb(56, 87, 205);
/* oklch */ color: oklch(50.5% 0.186 267.9);
Tailwind
colors: {
  custom: {
    50: '#8286dd',
    500: '#3857cd',
    950: '#000000',
  },
}
SCSS
$custom: #3857cd;
$custom-light: #8286dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3857cd",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 227.517,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.18601,
    "h": 267.9
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#3857CD
secondary
#D1C48F
accent
#C245E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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