#3855CB#3855CB

#3855CB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.186 H 268.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3855CB
RGBrgb(56, 85, 203)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(72.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(40.65, 29.89, -64.37)
CIE-LCHlch(40.65, 70.97, 294.91°)
OKLaboklab(49.97% -0.0055 -0.1857)
OKLCHoklch(49.97% 0.186 268.3)
XYZxyz(15.6552, 11.6479, 57.9115)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855CB #CBAE38
analogous
#389FCB #3855CB #6438CB
triadic
#3855CB #CB3855 #55CB38
tetradic
#3855CB #CB389F #CBAE38 #38CB64
square
#3855CB #CB389F #CBAE38 #38CB64
split-complementary
#3855CB #CB6438 #9FCB38
monochromatic
#1C2C6C #29409D #3855CB #697ED8 #99A8E4

Accessibility & contrast

On white

6.31
#3855CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3855CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855CB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855CB#FFFFFF#000000##FFFFFF
##3855CB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3855cb;
/* rgb */ color: rgb(56, 85, 203);
/* oklch */ color: oklch(50.0% 0.186 268.3);
Tailwind
colors: {
  custom: {
    50: '#8284dc',
    500: '#3855cb',
    950: '#000000',
  },
}
SCSS
$custom: #3855cb;
$custom-light: #8284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3855cb",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 228.163,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.18578,
    "h": 268.3
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#3855CB
secondary
#D0C38F
accent
#C346E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3855CB

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

Preview Lab → · Contrast checker → · Palette generator →

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