#3858C6#3858C6

#3858C6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.175 H 267.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3858C6
RGBrgb(56, 88, 198)
HSLhsl(226, 56%, 50%)
HSVhsv(226, 72%, 78%)
CMYKcmyk(71.7%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.05, 26.15, -60.83)
CIE-LCHlch(41.05, 66.21, 293.26°)
OKLaboklab(50.15% -0.008 -0.1752)
OKLCHoklch(50.15% 0.175 267.4)
XYZxyz(15.3101, 11.8958, 54.9044)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858C6 #C6A638
analogous
#389FC6 #3858C6 #5F38C6
triadic
#3858C6 #C63858 #58C638
tetradic
#3858C6 #C6389F #C6A638 #38C65F
square
#3858C6 #C6389F #C6A638 #38C65F
split-complementary
#3858C6 #C65F38 #9FC638
monochromatic
#1D2E67 #2B4396 #3858C6 #6780D4 #97A8E2

Accessibility & contrast

On white

6.21
#3858C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3858C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858C6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858C6#FFFFFF#000000##FFFFFF
##3858C61.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)
#0068CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3858c6;
/* rgb */ color: rgb(56, 88, 198);
/* oklch */ color: oklch(50.2% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#8186d8',
    500: '#3858c6',
    950: '#000000',
  },
}
SCSS
$custom: #3858c6;
$custom-light: #8186d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3858c6",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 226.479,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.17542,
    "h": 267.4
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#3858C6
secondary
#CDBF8D
accent
#BD49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3858C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3858C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva