#3858C5#3858C5

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

Color values

HEX#3858C5
RGBrgb(56, 88, 197)
HSLhsl(226, 56%, 50%)
HSVhsv(226, 72%, 77%)
CMYKcmyk(71.6%, 55.3%, 0%, 22.7%)
CIE-LABlab(40.98, 25.78, -60.37)
CIE-LCHlch(40.98, 65.64, 293.13°)
OKLaboklab(50.08% -0.008 -0.1739)
OKLCHoklch(50.08% 0.174 267.4)
XYZxyz(15.1952, 11.8498, 54.2989)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858C5 #C5A538
analogous
#389FC5 #3858C5 #5F38C5
triadic
#3858C5 #C53858 #58C538
tetradic
#3858C5 #C5389F #C5A538 #38C55F
square
#3858C5 #C5389F #C5A538 #38C55F
split-complementary
#3858C5 #C55F38 #9FC538
monochromatic
#1D2D66 #2A4395 #3858C5 #677FD4 #96A7E1

Accessibility & contrast

On white

6.23
#3858C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3858C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858C5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858C5#FFFFFF#000000##FFFFFF
##3858C51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3858c5;
/* rgb */ color: rgb(56, 88, 197);
/* oklch */ color: oklch(50.1% 0.174 267.4);
Tailwind
colors: {
  custom: {
    50: '#8186d7',
    500: '#3858c5',
    950: '#000000',
  },
}
SCSS
$custom: #3858c5;
$custom-light: #8186d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3858c5",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 197
  },
  "hsl": {
    "h": 226.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.17408,
    "h": 267.4
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#3858C5
secondary
#CDBE8C
accent
#BD49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3858C5

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

Preview Lab → · Contrast checker → · Palette generator →

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