#3855C4#3855C4

#3855C4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.176 H 268.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3855C4
RGBrgb(56, 85, 196)
HSLhsl(228, 56%, 49%)
HSVhsv(228, 71%, 77%)
CMYKcmyk(71.4%, 56.6%, 0%, 23.1%)
CIE-LABlab(40.12, 27.35, -61.18)
CIE-LCHlch(40.12, 67.02, 294.09°)
OKLaboklab(49.41% -0.0057 -0.1763)
OKLCHoklch(49.41% 0.176 268.1)
XYZxyz(14.8397, 11.3217, 53.6171)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855C4 #C4A738
analogous
#389BC4 #3855C4 #6138C4
triadic
#3855C4 #C43855 #55C438
tetradic
#3855C4 #C4389B #C4A738 #38C461
square
#3855C4 #C4389B #C4A738 #38C461
split-complementary
#3855C4 #C46138 #9BC438
monochromatic
#1D2C65 #2A4094 #3855C4 #667DD3 #96A5E1

Accessibility & contrast

On white

6.43
#3855C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3855C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855C4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855C4#FFFFFF#000000##FFFFFF
##3855C41.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3855c4;
/* rgb */ color: rgb(56, 85, 196);
/* oklch */ color: oklch(49.4% 0.176 268.1);
Tailwind
colors: {
  custom: {
    50: '#8184d7',
    500: '#3855c4',
    950: '#000000',
  },
}
SCSS
$custom: #3855c4;
$custom-light: #8184d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3855c4",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 227.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.17642,
    "h": 268.1
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3855C4

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

Preview Lab → · Contrast checker → · Palette generator →

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