#3855CD#3855CD

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

Color values

HEX#3855CD
RGBrgb(56, 85, 205)
HSLhsl(228, 60%, 51%)
HSVhsv(228, 73%, 80%)
CMYKcmyk(72.7%, 58.5%, 0%, 19.6%)
CIE-LABlab(40.81, 30.62, -65.27)
CIE-LCHlch(40.81, 72.10, 295.13°)
OKLaboklab(50.14% -0.0055 -0.1883)
OKLCHoklch(50.14% 0.188 268.3)
XYZxyz(15.8950, 11.7439, 59.1749)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855CD #CDB038
analogous
#389FCD #3855CD #6538CD
triadic
#3855CD #CD3855 #55CD38
tetradic
#3855CD #CD389F #CDB038 #38CD65
square
#3855CD #CD389F #CDB038 #38CD65
split-complementary
#3855CD #CD6538 #9FCD38
monochromatic
#1C2C6F #283FA0 #3855CD #697FD9 #9AA9E6

Accessibility & contrast

On white

6.27
#3855CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3855CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855CD#FFFFFF#000000##FFFFFF
##3855CD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3855cd;
/* rgb */ color: rgb(56, 85, 205);
/* oklch */ color: oklch(50.1% 0.188 268.3);
Tailwind
colors: {
  custom: {
    50: '#8384dd',
    500: '#3855cd',
    950: '#000000',
  },
}
SCSS
$custom: #3855cd;
$custom-light: #8384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3855cd",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 228.322,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.18843,
    "h": 268.3
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#3855CD
secondary
#D1C58F
accent
#C445E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3855CD

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

Preview Lab → · Contrast checker → · Palette generator →

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