#3855AE#3855AE

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

Color values

HEX#3855AE
RGBrgb(56, 85, 174)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 68%, 68%)
CMYKcmyk(67.8%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.54, 19.31, -50.84)
CIE-LCHlch(38.54, 54.38, 290.79°)
OKLaboklab(47.72% -0.0073 -0.1459)
OKLCHoklch(47.72% 0.146 267.1)
XYZxyz(12.5167, 10.3925, 41.3825)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AE #AE9138
analogous
#3890AE #3855AE #5638AE
triadic
#3855AE #AE3855 #55AE38
tetradic
#3855AE #AE3890 #AE9138 #38AE56
square
#3855AE #AE3890 #AE9138 #38AE56
split-complementary
#3855AE #AE5638 #90AE38
monochromatic
#1A2851 #293E80 #3855AE #5975CA #889CD9

Accessibility & contrast

On white

6.82
#3855AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3855AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855AE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855AE#FFFFFF#000000##FFFFFF
##3855AE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3855ae;
/* rgb */ color: rgb(56, 85, 174);
/* oklch */ color: oklch(47.7% 0.146 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c84c7',
    500: '#3855ae',
    950: '#000000',
  },
}
SCSS
$custom: #3855ae;
$custom-light: #7c84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ae",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 225.254,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.14609,
    "h": 267.1
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3855AE

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

Preview Lab → · Contrast checker → · Palette generator →

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