#3855BA#3855BA

#3855BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.163 H 267.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3855BA
RGBrgb(56, 85, 186)
HSLhsl(227, 54%, 47%)
HSVhsv(227, 70%, 73%)
CMYKcmyk(69.9%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.38, 23.70, -56.54)
CIE-LCHlch(39.38, 61.31, 292.74°)
OKLaboklab(48.62% -0.0063 -0.1627)
OKLCHoklch(48.62% 0.163 267.8)
XYZxyz(13.7392, 10.8815, 47.8211)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855BA #BA9D38
analogous
#3896BA #3855BA #5C38BA
triadic
#3855BA #BA3855 #55BA38
tetradic
#3855BA #BA3896 #BA9D38 #38BA5C
square
#3855BA #BA3896 #BA9D38 #38BA5C
split-complementary
#3855BA #BA5C38 #96BA38
monochromatic
#1C2A5C #2A408B #3855BA #6079CF #8FA1DD

Accessibility & contrast

On white

6.61
#3855BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3855BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855BA#FFFFFF#000000##FFFFFF
##3855BA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3855ba;
/* rgb */ color: rgb(56, 85, 186);
/* oklch */ color: oklch(48.6% 0.163 267.8);
Tailwind
colors: {
  custom: {
    50: '#7f84cf',
    500: '#3855ba',
    950: '#000000',
  },
}
SCSS
$custom: #3855ba;
$custom-light: #7f84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ba",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 226.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.1628,
    "h": 267.8
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#3855BA
secondary
#C8B986
accent
#BC4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3855BA

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

Preview Lab → · Contrast checker → · Palette generator →

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