#3857B7#3857B7

#3857B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.156 H 267.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3857B7
RGBrgb(56, 87, 183)
HSLhsl(225, 53%, 47%)
HSVhsv(225, 69%, 72%)
CMYKcmyk(69.4%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.71, 21.30, -54.26)
CIE-LCHlch(39.71, 58.29, 291.43°)
OKLaboklab(48.8% -0.0082 -0.1559)
OKLCHoklch(48.8% 0.156 267)
XYZxyz(13.5834, 11.0747, 46.2123)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857B7 #B79838
analogous
#3897B7 #3857B7 #5838B7
triadic
#3857B7 #B73857 #57B738
tetradic
#3857B7 #B73897 #B79838 #38B758
square
#3857B7 #B73897 #B79838 #38B758
split-complementary
#3857B7 #B75838 #97B738
monochromatic
#1B2A59 #2A4188 #3857B7 #5E7ACE #8DA0DC

Accessibility & contrast

On white

6.53
#3857B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3857B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857B7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857B7#FFFFFF#000000##FFFFFF
##3857B71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3857b7;
/* rgb */ color: rgb(56, 87, 183);
/* oklch */ color: oklch(48.8% 0.156 267.0);
Tailwind
colors: {
  custom: {
    50: '#7e85cd',
    500: '#3857b7',
    950: '#000000',
  },
}
SCSS
$custom: #3857b7;
$custom-light: #7e85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3857b7",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 225.354,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.15615,
    "h": 267
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#3857B7
secondary
#C7B684
accent
#B94BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3857B7

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

Preview Lab → · Contrast checker → · Palette generator →

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