#3855C2#3855C2

#3855C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.174 H 268.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3855C2
RGBrgb(56, 85, 194)
HSLhsl(227, 55%, 49%)
HSVhsv(227, 71%, 76%)
CMYKcmyk(71.1%, 56.2%, 0%, 23.9%)
CIE-LABlab(39.97, 26.62, -60.26)
CIE-LCHlch(39.97, 65.88, 293.84°)
OKLaboklab(49.25% -0.0058 -0.1736)
OKLCHoklch(49.25% 0.174 268.1)
XYZxyz(14.6136, 11.2313, 52.4262)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855C2 #C2A538
analogous
#389AC2 #3855C2 #6038C2
triadic
#3855C2 #C23855 #55C238
tetradic
#3855C2 #C2389A #C2A538 #38C260
square
#3855C2 #C2389A #C2A538 #38C260
split-complementary
#3855C2 #C26038 #9AC238
monochromatic
#1D2B63 #2A4093 #3855C2 #657CD2 #94A4E0

Accessibility & contrast

On white

6.47
#3855C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3855C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855C2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855C2#FFFFFF#000000##FFFFFF
##3855C21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3855c2;
/* rgb */ color: rgb(56, 85, 194);
/* oklch */ color: oklch(49.2% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#8084d5',
    500: '#3855c2',
    950: '#000000',
  },
}
SCSS
$custom: #3855c2;
$custom-light: #8084d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3855c2",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 227.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.17372,
    "h": 268.1
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#3855C2
secondary
#CBBE8A
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3855C2

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

Preview Lab → · Contrast checker → · Palette generator →

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