#3850D4#3850D4

#3850D4 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.8% C 0.203 H 269.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3850D4
RGBrgb(56, 80, 212)
HSLhsl(231, 64%, 53%)
HSVhsv(231, 74%, 83%)
CMYKcmyk(73.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(40.13, 36.30, -70.41)
CIE-LCHlch(40.13, 79.21, 297.27°)
OKLaboklab(49.81% -0.0021 -0.2035)
OKLCHoklch(49.81% 0.203 269.4)
XYZxyz(16.3791, 11.3298, 63.5982)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850D4 #D4BC38
analogous
#389ED4 #3850D4 #6E38D4
triadic
#3850D4 #D43850 #50D438
tetradic
#3850D4 #D4389E #D4BC38 #38D46E
square
#3850D4 #D4389E #D4BC38 #38D46E
split-complementary
#3850D4 #D46E38 #9ED438
monochromatic
#1A2878 #2539AA #3850D4 #6A7CDF #9DA9EA

Accessibility & contrast

On white

6.43
#3850D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3850D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850D4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850D4#FFFFFF#000000##FFFFFF
##3850D41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3850d4;
/* rgb */ color: rgb(56, 80, 212);
/* oklch */ color: oklch(49.8% 0.203 269.4);
Tailwind
colors: {
  custom: {
    50: '#8581e2',
    500: '#3850d4',
    950: '#000000',
  },
}
SCSS
$custom: #3850d4;
$custom-light: #8581e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3850d4",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 230.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.20348,
    "h": 269.4
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#3850D4
secondary
#D6CB92
accent
#CE40E7
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0D0A15
muted
#7D7C84

Preview Lab

Preview with #3850D4

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

Preview Lab → · Contrast checker → · Palette generator →

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