#3855C6#3855C6

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

Color values

HEX#3855C6
RGBrgb(56, 85, 198)
HSLhsl(228, 56%, 50%)
HSVhsv(228, 72%, 78%)
CMYKcmyk(71.7%, 57.1%, 0%, 22.4%)
CIE-LABlab(40.27, 28.08, -62.10)
CIE-LCHlch(40.27, 68.15, 294.33°)
OKLaboklab(49.57% -0.0056 -0.179)
OKLCHoklch(49.57% 0.179 268.2)
XYZxyz(15.0689, 11.4134, 54.8240)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855C6 #C6A938
analogous
#389CC6 #3855C6 #6238C6
triadic
#3855C6 #C63855 #55C638
tetradic
#3855C6 #C6389C #C6A938 #38C662
square
#3855C6 #C6389C #C6A938 #38C662
split-complementary
#3855C6 #C66238 #9CC638
monochromatic
#1D2C67 #2B4196 #3855C6 #677DD4 #97A6E2

Accessibility & contrast

On white

6.40
#3855C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3855C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855C6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855C6#FFFFFF#000000##FFFFFF
##3855C61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3855c6;
/* rgb */ color: rgb(56, 85, 198);
/* oklch */ color: oklch(49.6% 0.179 268.2);
Tailwind
colors: {
  custom: {
    50: '#8184d8',
    500: '#3855c6',
    950: '#000000',
  },
}
SCSS
$custom: #3855c6;
$custom-light: #8184d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3855c6",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 198
  },
  "hsl": {
    "h": 227.746,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.17911,
    "h": 268.2
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#3855C6
secondary
#CDC08D
accent
#C049DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3855C6

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

Preview Lab → · Contrast checker → · Palette generator →

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