#3857BA#3857BA

#3857BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.160 H 267.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3857BA
RGBrgb(56, 87, 186)
HSLhsl(226, 54%, 47%)
HSVhsv(226, 70%, 73%)
CMYKcmyk(69.9%, 53.2%, 0%, 27.1%)
CIE-LABlab(39.92, 22.40, -55.67)
CIE-LCHlch(39.92, 60.01, 291.92°)
OKLaboklab(49.03% -0.008 -0.1601)
OKLCHoklch(49.03% 0.16 267.2)
XYZxyz(13.8989, 11.2009, 47.8744)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857BA #BA9B38
analogous
#3898BA #3857BA #5A38BA
triadic
#3857BA #BA3857 #57BA38
tetradic
#3857BA #BA3898 #BA9B38 #38BA5A
square
#3857BA #BA3898 #BA9B38 #38BA5A
split-complementary
#3857BA #BA5A38 #98BA38
monochromatic
#1C2B5C #2A418B #3857BA #607BCF #8FA2DD

Accessibility & contrast

On white

6.48
#3857BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3857BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857BA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857BA#FFFFFF#000000##FFFFFF
##3857BA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3857ba;
/* rgb */ color: rgb(56, 87, 186);
/* oklch */ color: oklch(49.0% 0.160 267.2);
Tailwind
colors: {
  custom: {
    50: '#7e85cf',
    500: '#3857ba',
    950: '#000000',
  },
}
SCSS
$custom: #3857ba;
$custom-light: #7e85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3857ba",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 225.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.1603,
    "h": 267.2
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#3857BA
secondary
#C8B886
accent
#BA4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3857BA

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

Preview Lab → · Contrast checker → · Palette generator →

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