#3850C4#3850C4

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

Color values

HEX#3850C4
RGBrgb(56, 80, 196)
HSLhsl(230, 56%, 49%)
HSVhsv(230, 71%, 77%)
CMYKcmyk(71.4%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.83, 30.57, -63.27)
CIE-LCHlch(38.83, 70.27, 295.79°)
OKLaboklab(48.45% -0.0019 -0.1825)
OKLCHoklch(48.45% 0.183 269.4)
XYZxyz(14.4599, 10.5621, 53.4905)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850C4 #C4AC38
analogous
#3896C4 #3850C4 #6638C4
triadic
#3850C4 #C43850 #50C438
tetradic
#3850C4 #C43896 #C4AC38 #38C466
square
#3850C4 #C43896 #C4AC38 #38C466
split-complementary
#3850C4 #C46638 #96C438
monochromatic
#1D2965 #2A3D94 #3850C4 #6679D3 #96A2E1

Accessibility & contrast

On white

6.75
#3850C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3850C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850C4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850C4#FFFFFF#000000##FFFFFF
##3850C41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3850c4;
/* rgb */ color: rgb(56, 80, 196);
/* oklch */ color: oklch(48.4% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#8180d7',
    500: '#3850c4',
    950: '#000000',
  },
}
SCSS
$custom: #3850c4;
$custom-light: #8180d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3850c4",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 229.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.18254,
    "h": 269.4
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#3850C4
secondary
#CCC18C
accent
#C549DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3850C4

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

Preview Lab → · Contrast checker → · Palette generator →

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