#3857CA#3857CA

#3857CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.182 H 267.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3857CA
RGBrgb(56, 87, 202)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 72%, 79%)
CMYKcmyk(72.3%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.09, 28.25, -63.08)
CIE-LCHlch(41.09, 69.12, 294.12°)
OKLaboklab(50.28% -0.007 -0.1819)
OKLCHoklch(50.28% 0.182 267.8)
XYZxyz(15.6961, 11.9198, 57.3392)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3857CA #CAAB38
analogous
#38A0CA #3857CA #6238CA
triadic
#3857CA #CA3857 #57CA38
tetradic
#3857CA #CA38A0 #CAAB38 #38CA62
square
#3857CA #CA38A0 #CAAB38 #38CA62
split-complementary
#3857CA #CA6238 #A0CA38
monochromatic
#1D2D6B #29429B #3857CA #6880D7 #99A9E4

Accessibility & contrast

On white

6.21
#3857CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3857CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3857CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3857CA#FFFFFF#000000##FFFFFF
##3857CA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3857ca;
/* rgb */ color: rgb(56, 87, 202);
/* oklch */ color: oklch(50.3% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#8286db',
    500: '#3857ca',
    950: '#000000',
  },
}
SCSS
$custom: #3857ca;
$custom-light: #8286db;
$custom-dark: #000000;
JSON
{
  "hex": "#3857ca",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 227.26,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.18202,
    "h": 267.8
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#3857CA
secondary
#CFC28E
accent
#C047E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3857CA

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

Preview Lab → · Contrast checker → · Palette generator →

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