#3857DB#3857DB

#3857DB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.7% C 0.204 H 268.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3857DB
RGBrgb(56, 87, 219)
HSLhsl(229, 69%, 54%)
HSVhsv(229, 74%, 86%)
CMYKcmyk(74.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(42.41, 34.39, -70.68)
CIE-LCHlch(42.41, 78.61, 295.95°)
OKLaboklab(51.68% -0.0067 -0.2042)
OKLCHoklch(51.68% 0.204 268.1)
XYZxyz(17.8208, 12.7697, 68.5297)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857DB #DBBC38
analogous
#38A9DB #3857DB #6B38DB
triadic
#3857DB #DB3857 #57DB38
tetradic
#3857DB #DB38A9 #DBBC38 #38DB6B
square
#3857DB #DB38A9 #DBBC38 #38DB6B
split-complementary
#3857DB #DB6B38 #A9DB38
monochromatic
#172C81 #213DB5 #3857DB #6C83E4 #A0AFEE

Accessibility & contrast

On white

5.91
#3857DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3857DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857DB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857DB#FFFFFF#000000##FFFFFF
##3857DB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3857db;
/* rgb */ color: rgb(56, 87, 219);
/* oklch */ color: oklch(51.7% 0.204 268.1);
Tailwind
colors: {
  custom: {
    50: '#8686e7',
    500: '#3857db',
    950: '#000000',
  },
}
SCSS
$custom: #3857db;
$custom-light: #8686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3857db",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 228.589,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.20432,
    "h": 268.1
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#3857DB
secondary
#DACD95
accent
#CB3CEC
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3857DB

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

Preview Lab → · Contrast checker → · Palette generator →

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