#3858C4#3858C4

#3858C4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.173 H 267.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3858C4
RGBrgb(56, 88, 196)
HSLhsl(226, 56%, 49%)
HSVhsv(226, 71%, 77%)
CMYKcmyk(71.4%, 55.1%, 0%, 23.1%)
CIE-LABlab(40.90, 25.41, -59.90)
CIE-LCHlch(40.90, 65.07, 292.99°)
OKLaboklab(50% -0.0081 -0.1725)
OKLCHoklch(50% 0.173 267.3)
XYZxyz(15.0810, 11.8042, 53.6975)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858C4 #C4A438
analogous
#389EC4 #3858C4 #5E38C4
triadic
#3858C4 #C43858 #58C438
tetradic
#3858C4 #C4389E #C4A438 #38C45E
square
#3858C4 #C4389E #C4A438 #38C45E
split-complementary
#3858C4 #C45E38 #9EC438
monochromatic
#1D2D65 #2A4394 #3858C4 #667FD3 #96A7E1

Accessibility & contrast

On white

6.25
#3858C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3858C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858C4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858C4#FFFFFF#000000##FFFFFF
##3858C41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3858c4;
/* rgb */ color: rgb(56, 88, 196);
/* oklch */ color: oklch(50.0% 0.173 267.3);
Tailwind
colors: {
  custom: {
    50: '#8086d7',
    500: '#3858c4',
    950: '#000000',
  },
}
SCSS
$custom: #3858c4;
$custom-light: #8086d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3858c4",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 226.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.17272,
    "h": 267.3
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3858C4

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

Preview Lab → · Contrast checker → · Palette generator →

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