#3855A2#3855A2

#3855A2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.129 H 266.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3855A2
RGBrgb(56, 85, 162)
HSLhsl(224, 49%, 43%)
HSVhsv(224, 65%, 64%)
CMYKcmyk(65.4%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.74, 14.92, -44.98)
CIE-LCHlch(37.74, 47.39, 288.34°)
OKLaboklab(46.86% -0.0089 -0.1287)
OKLCHoklch(46.86% 0.129 266.1)
XYZxyz(11.3987, 9.9453, 35.4944)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855A2 #A28538
analogous
#388AA2 #3855A2 #5038A2
triadic
#3855A2 #A23855 #55A238
tetradic
#3855A2 #A2388A #A28538 #38A250
square
#3855A2 #A2388A #A28538 #38A250
split-complementary
#3855A2 #A25038 #8AA238
monochromatic
#192547 #283D75 #3855A2 #5372C4 #8198D3

Accessibility & contrast

On white

7.03
#3855A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3855A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3855A2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855A2#FFFFFF#000000##FFFFFF
##3855A21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3855a2;
/* rgb */ color: rgb(56, 85, 162);
/* oklch */ color: oklch(46.9% 0.129 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a84be',
    500: '#3855a2',
    950: '#000000',
  },
}
SCSS
$custom: #3855a2;
$custom-light: #7a84be;
$custom-dark: #000000;
JSON
{
  "hex": "#3855a2",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 223.585,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.12899,
    "h": 266.1
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#3855A2
secondary
#BDAA79
accent
#B350D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3855A2

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

Preview Lab → · Contrast checker → · Palette generator →

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