#3857BF#3857BF

#3857BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.167 H 267.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3857BF
RGBrgb(56, 87, 191)
HSLhsl(226, 55%, 48%)
HSVhsv(226, 71%, 75%)
CMYKcmyk(70.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(40.27, 24.23, -58.02)
CIE-LCHlch(40.27, 62.87, 292.67°)
OKLaboklab(49.41% -0.0076 -0.167)
OKLCHoklch(49.41% 0.167 267.4)
XYZxyz(14.4398, 11.4173, 50.7229)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857BF #BFA038
analogous
#389ABF #3857BF #5C38BF
triadic
#3857BF #BF3857 #57BF38
tetradic
#3857BF #BF389A #BFA038 #38BF5C
square
#3857BF #BF389A #BFA038 #38BF5C
split-complementary
#3857BF #BF5C38 #9ABF38
monochromatic
#1C2C60 #2A4190 #3857BF #637CD1 #92A4DF

Accessibility & contrast

On white

6.40
#3857BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3857BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857BF#FFFFFF#000000##FFFFFF
##3857BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3857bf;
/* rgb */ color: rgb(56, 87, 191);
/* oklch */ color: oklch(49.4% 0.167 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f85d3',
    500: '#3857bf',
    950: '#000000',
  },
}
SCSS
$custom: #3857bf;
$custom-light: #7f85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3857bf",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 226.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.16716,
    "h": 267.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#3857BF
secondary
#CABB89
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3857BF

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

Preview Lab → · Contrast checker → · Palette generator →

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