#3855B5#3855B5

#3855B5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.156 H 267.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3855B5
RGBrgb(56, 85, 181)
HSLhsl(226, 53%, 46%)
HSVhsv(226, 69%, 71%)
CMYKcmyk(69.1%, 53%, 0%, 29%)
CIE-LABlab(39.02, 21.87, -54.19)
CIE-LCHlch(39.02, 58.43, 291.98°)
OKLaboklab(48.24% -0.0066 -0.1557)
OKLCHoklch(48.24% 0.156 267.6)
XYZxyz(13.2170, 10.6726, 45.0706)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855B5 #B59838
analogous
#3894B5 #3855B5 #5A38B5
triadic
#3855B5 #B53855 #55B538
tetradic
#3855B5 #B53894 #B59838 #38B55A
square
#3855B5 #B53894 #B59838 #38B55A
split-complementary
#3855B5 #B55A38 #94B538
monochromatic
#1B2958 #2A3F86 #3855B5 #5D77CD #8C9EDB

Accessibility & contrast

On white

6.70
#3855B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3855B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855B5#FFFFFF#000000##FFFFFF
##3855B51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1462B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3855b5;
/* rgb */ color: rgb(56, 85, 181);
/* oklch */ color: oklch(48.2% 0.156 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e84cc',
    500: '#3855b5',
    950: '#000000',
  },
}
SCSS
$custom: #3855b5;
$custom-light: #7e84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3855b5",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 226.08,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.15589,
    "h": 267.6
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#3855B5
secondary
#C6B683
accent
#BB4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3855B5

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

Preview Lab → · Contrast checker → · Palette generator →

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