#3855CC#3855CC

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

Color values

HEX#3855CC
RGBrgb(56, 85, 204)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 73%, 80%)
CMYKcmyk(72.5%, 58.3%, 0%, 20%)
CIE-LABlab(40.73, 30.26, -64.82)
CIE-LCHlch(40.73, 71.53, 295.02°)
OKLaboklab(50.06% -0.0055 -0.187)
OKLCHoklch(50.06% 0.187 268.3)
XYZxyz(15.7747, 11.6957, 58.5412)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855CC #CCAF38
analogous
#389FCC #3855CC #6538CC
triadic
#3855CC #CC3855 #55CC38
tetradic
#3855CC #CC389F #CCAF38 #38CC65
square
#3855CC #CC389F #CCAF38 #38CC65
split-complementary
#3855CC #CC6538 #9FCC38
monochromatic
#1C2C6E #29409E #3855CC #697FD8 #99A8E5

Accessibility & contrast

On white

6.29
#3855CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3855CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855CC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855CC#FFFFFF#000000##FFFFFF
##3855CC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3855cc;
/* rgb */ color: rgb(56, 85, 204);
/* oklch */ color: oklch(50.1% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#8284dc',
    500: '#3855cc',
    950: '#000000',
  },
}
SCSS
$custom: #3855cc;
$custom-light: #8284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3855cc",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 228.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.1871,
    "h": 268.3
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#3855CC
secondary
#D1C48F
accent
#C445E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3855CC

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

Preview Lab → · Contrast checker → · Palette generator →

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