#3855AC#3855AC

#3855AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.143 H 267.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3855AC
RGBrgb(56, 85, 172)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(67.4%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.40, 18.57, -49.88)
CIE-LCHlch(38.40, 53.22, 290.42°)
OKLaboklab(47.57% -0.0075 -0.1431)
OKLCHoklch(47.57% 0.143 267)
XYZxyz(12.3232, 10.3151, 40.3633)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AC #AC8F38
analogous
#388FAC #3855AC #5538AC
triadic
#3855AC #AC3855 #55AC38
tetradic
#3855AC #AC388F #AC8F38 #38AC55
square
#3855AC #AC388F #AC8F38 #38AC55
split-complementary
#3855AC #AC5538 #8FAC38
monochromatic
#1A2750 #293E7E #3855AC #5875C9 #879BD8

Accessibility & contrast

On white

6.86
#3855AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3855AC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855AC#FFFFFF#000000##FFFFFF
##3855AC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3855ac;
/* rgb */ color: rgb(56, 85, 172);
/* oklch */ color: oklch(47.6% 0.143 267.0);
Tailwind
colors: {
  custom: {
    50: '#7c84c5',
    500: '#3855ac',
    950: '#000000',
  },
}
SCSS
$custom: #3855ac;
$custom-light: #7c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ac",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 225,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.14327,
    "h": 267
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#3855AC
secondary
#C2B17E
accent
#B74DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3855AC

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

Preview Lab → · Contrast checker → · Palette generator →

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