#3858C2#3858C2

#3858C2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.170 H 267.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3858C2
RGBrgb(56, 88, 194)
HSLhsl(226, 55%, 49%)
HSVhsv(226, 71%, 76%)
CMYKcmyk(71.1%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.76, 24.68, -58.98)
CIE-LCHlch(40.76, 63.94, 292.71°)
OKLaboklab(49.84% -0.0082 -0.1698)
OKLCHoklch(49.84% 0.17 267.2)
XYZxyz(14.8548, 11.7137, 52.5066)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858C2 #C2A238
analogous
#389DC2 #3858C2 #5D38C2
triadic
#3858C2 #C23858 #58C238
tetradic
#3858C2 #C2389D #C2A238 #38C25D
square
#3858C2 #C2389D #C2A238 #38C25D
split-complementary
#3858C2 #C25D38 #9DC238
monochromatic
#1D2D63 #2A4293 #3858C2 #657ED2 #94A6E0

Accessibility & contrast

On white

6.28
#3858C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3858C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858C2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858C2#FFFFFF#000000##FFFFFF
##3858C21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3858c2;
/* rgb */ color: rgb(56, 88, 194);
/* oklch */ color: oklch(49.8% 0.170 267.2);
Tailwind
colors: {
  custom: {
    50: '#8086d5',
    500: '#3858c2',
    950: '#000000',
  },
}
SCSS
$custom: #3858c2;
$custom-light: #8086d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3858c2",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 226.087,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.17001,
    "h": 267.2
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#3858C2
secondary
#CBBC8A
accent
#BC49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3858C2

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

Preview Lab → · Contrast checker → · Palette generator →

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