#3855AA#3855AA

#3855AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.140 H 266.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3855AA
RGBrgb(56, 85, 170)
HSLhsl(225, 50%, 44%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(67.1%, 50%, 0%, 33.3%)
CIE-LABlab(38.27, 17.84, -48.91)
CIE-LCHlch(38.27, 52.06, 290.04°)
OKLaboklab(47.42% -0.0078 -0.1402)
OKLCHoklch(47.42% 0.14 266.8)
XYZxyz(12.1326, 10.2389, 39.3593)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AA #AA8D38
analogous
#388EAA #3855AA #5438AA
triadic
#3855AA #AA3855 #55AA38
tetradic
#3855AA #AA388E #AA8D38 #38AA54
square
#3855AA #AA388E #AA8D38 #38AA54
split-complementary
#3855AA #AA5438 #8EAA38
monochromatic
#1A274E #293E7C #3855AA #5774C8 #859AD7

Accessibility & contrast

On white

6.89
#3855AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3855AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855AA#FFFFFF#000000##FFFFFF
##3855AA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#0455A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3855aa;
/* rgb */ color: rgb(56, 85, 170);
/* oklch */ color: oklch(47.4% 0.140 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b84c4',
    500: '#3855aa',
    950: '#000000',
  },
}
SCSS
$custom: #3855aa;
$custom-light: #7b84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3855aa",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 224.737,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.14043,
    "h": 266.8
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3855AA

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

Preview Lab → · Contrast checker → · Palette generator →

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