#3858CE#3858CE

#3858CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.186 H 267.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3858CE
RGBrgb(56, 88, 206)
HSLhsl(227, 60%, 51%)
HSVhsv(227, 73%, 81%)
CMYKcmyk(72.8%, 57.3%, 0%, 19.2%)
CIE-LABlab(41.65, 29.06, -64.48)
CIE-LCHlch(41.65, 70.72, 294.26°)
OKLaboklab(50.79% -0.0076 -0.186)
OKLCHoklch(50.79% 0.186 267.7)
XYZxyz(16.2573, 12.2747, 59.8930)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858CE #CEAE38
analogous
#38A3CE #3858CE #6338CE
triadic
#3858CE #CE3858 #58CE38
tetradic
#3858CE #CE38A3 #CEAE38 #38CE63
square
#3858CE #CE38A3 #CEAE38 #38CE63
split-complementary
#3858CE #CE6338 #A3CE38
monochromatic
#1C2E70 #2842A1 #3858CE #6981DA #9AAAE6

Accessibility & contrast

On white

6.08
#3858CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3858CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858CE#FFFFFF#000000##FFFFFF
##3858CE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3858ce;
/* rgb */ color: rgb(56, 88, 206);
/* oklch */ color: oklch(50.8% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#8386de',
    500: '#3858ce',
    950: '#000000',
  },
}
SCSS
$custom: #3858ce;
$custom-light: #8386de;
$custom-dark: #000000;
JSON
{
  "hex": "#3858ce",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 227.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.18613,
    "h": 267.7
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#3858CE
secondary
#D2C490
accent
#C244E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3858CE

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

Preview Lab → · Contrast checker → · Palette generator →

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