#3855AD#3855AD

#3855AD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.145 H 267.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3855AD
RGBrgb(56, 85, 173)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 68%, 68%)
CMYKcmyk(67.6%, 50.9%, 0%, 32.2%)
CIE-LABlab(38.47, 18.94, -50.36)
CIE-LCHlch(38.47, 53.80, 290.61°)
OKLaboklab(47.64% -0.0074 -0.1445)
OKLCHoklch(47.64% 0.145 267.1)
XYZxyz(12.4196, 10.3537, 40.8710)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AD #AD9038
analogous
#3890AD #3855AD #5538AD
triadic
#3855AD #AD3855 #55AD38
tetradic
#3855AD #AD3890 #AD9038 #38AD55
square
#3855AD #AD3890 #AD9038 #38AD55
split-complementary
#3855AD #AD5538 #90AD38
monochromatic
#1A2851 #293E7F #3855AD #5975C9 #879BD8

Accessibility & contrast

On white

6.84
#3855AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3855AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855AD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855AD#FFFFFF#000000##FFFFFF
##3855AD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3855ad;
/* rgb */ color: rgb(56, 85, 173);
/* oklch */ color: oklch(47.6% 0.145 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c84c6',
    500: '#3855ad',
    950: '#000000',
  },
}
SCSS
$custom: #3855ad;
$custom-light: #7c84c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ad",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 225.128,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47642,
    "c": 0.14468,
    "h": 267.1
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#3855AD
secondary
#C2B17F
accent
#B84DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3855AD

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

Preview Lab → · Contrast checker → · Palette generator →

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