#3850C5#3850C5

#3850C5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.184 H 269.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3850C5
RGBrgb(56, 80, 197)
HSLhsl(230, 56%, 50%)
HSVhsv(230, 72%, 77%)
CMYKcmyk(71.6%, 59.4%, 0%, 22.7%)
CIE-LABlab(38.91, 30.93, -63.72)
CIE-LCHlch(38.91, 70.83, 295.89°)
OKLaboklab(48.53% -0.0019 -0.1839)
OKLCHoklch(48.53% 0.184 269.4)
XYZxyz(14.5741, 10.6078, 54.0919)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850C5 #C5AD38
analogous
#3897C5 #3850C5 #6638C5
triadic
#3850C5 #C53850 #50C538
tetradic
#3850C5 #C53897 #C5AD38 #38C566
square
#3850C5 #C53897 #C5AD38 #38C566
split-complementary
#3850C5 #C56638 #97C538
monochromatic
#1D2966 #2A3D95 #3850C5 #6779D4 #96A3E1

Accessibility & contrast

On white

6.73
#3850C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3850C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850C5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850C5#FFFFFF#000000##FFFFFF
##3850C51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3850c5;
/* rgb */ color: rgb(56, 80, 197);
/* oklch */ color: oklch(48.5% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#8180d7',
    500: '#3850c5',
    950: '#000000',
  },
}
SCSS
$custom: #3850c5;
$custom-light: #8180d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3850c5",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 229.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.18387,
    "h": 269.4
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#3850C5
secondary
#CDC28C
accent
#C549DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3850C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3850C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva