#3855AB#3855AB

#3855AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.142 H 266.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3855AB
RGBrgb(56, 85, 171)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(67.3%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.33, 18.21, -49.39)
CIE-LCHlch(38.33, 52.64, 290.23°)
OKLaboklab(47.5% -0.0077 -0.1416)
OKLCHoklch(47.5% 0.142 266.9)
XYZxyz(12.2275, 10.2769, 39.8594)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AB #AB8E38
analogous
#388EAB #3855AB #5538AB
triadic
#3855AB #AB3855 #55AB38
tetradic
#3855AB #AB388E #AB8E38 #38AB55
square
#3855AB #AB388E #AB8E38 #38AB55
split-complementary
#3855AB #AB5538 #8EAB38
monochromatic
#1A274F #293E7D #3855AB #5874C8 #869BD7

Accessibility & contrast

On white

6.87
#3855AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3855AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855AB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855AB#FFFFFF#000000##FFFFFF
##3855AB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3855ab;
/* rgb */ color: rgb(56, 85, 171);
/* oklch */ color: oklch(47.5% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c84c5',
    500: '#3855ab',
    950: '#000000',
  },
}
SCSS
$custom: #3855ab;
$custom-light: #7c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ab",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 224.87,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.14185,
    "h": 266.9
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#3855AB
secondary
#C1B07D
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3855AB

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

Preview Lab → · Contrast checker → · Palette generator →

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