#3855C5#3855C5

#3855C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.178 H 268.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3855C5
RGBrgb(56, 85, 197)
HSLhsl(228, 56%, 50%)
HSVhsv(228, 72%, 77%)
CMYKcmyk(71.6%, 56.9%, 0%, 22.7%)
CIE-LABlab(40.19, 27.72, -61.64)
CIE-LCHlch(40.19, 67.58, 294.21°)
OKLaboklab(49.49% -0.0057 -0.1777)
OKLCHoklch(49.49% 0.178 268.2)
XYZxyz(14.9539, 11.3674, 54.2185)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855C5 #C5A838
analogous
#389BC5 #3855C5 #6238C5
triadic
#3855C5 #C53855 #55C538
tetradic
#3855C5 #C5389B #C5A838 #38C562
square
#3855C5 #C5389B #C5A838 #38C562
split-complementary
#3855C5 #C56238 #9BC538
monochromatic
#1D2C66 #2A4095 #3855C5 #677DD4 #96A6E1

Accessibility & contrast

On white

6.41
#3855C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3855C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855C5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855C5#FFFFFF#000000##FFFFFF
##3855C51.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3855c5;
/* rgb */ color: rgb(56, 85, 197);
/* oklch */ color: oklch(49.5% 0.178 268.2);
Tailwind
colors: {
  custom: {
    50: '#8184d7',
    500: '#3855c5',
    950: '#000000',
  },
}
SCSS
$custom: #3855c5;
$custom-light: #8184d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3855c5",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 227.66,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.17776,
    "h": 268.2
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#3855C5
secondary
#CDBF8C
accent
#C049DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3855C5

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

Preview Lab → · Contrast checker → · Palette generator →

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