#3855B7#3855B7

#3855B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.159 H 267.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3855B7
RGBrgb(56, 85, 183)
HSLhsl(226, 53%, 47%)
HSVhsv(226, 69%, 72%)
CMYKcmyk(69.4%, 53.6%, 0%, 28.2%)
CIE-LABlab(39.17, 22.60, -55.13)
CIE-LCHlch(39.17, 59.58, 292.29°)
OKLaboklab(48.39% -0.0065 -0.1585)
OKLCHoklch(48.39% 0.159 267.7)
XYZxyz(13.4237, 10.7553, 46.1591)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855B7 #B79A38
analogous
#3895B7 #3855B7 #5B38B7
triadic
#3855B7 #B73855 #55B738
tetradic
#3855B7 #B73895 #B79A38 #38B75B
square
#3855B7 #B73895 #B79A38 #38B75B
split-complementary
#3855B7 #B75B38 #95B738
monochromatic
#1B2959 #2A3F88 #3855B7 #5E78CE #8D9FDC

Accessibility & contrast

On white

6.66
#3855B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3855B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855B7#FFFFFF#000000##FFFFFF
##3855B71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F62BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3855b7;
/* rgb */ color: rgb(56, 85, 183);
/* oklch */ color: oklch(48.4% 0.159 267.7);
Tailwind
colors: {
  custom: {
    50: '#7e84cd',
    500: '#3855b7',
    950: '#000000',
  },
}
SCSS
$custom: #3855b7;
$custom-light: #7e84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3855b7",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 226.299,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.15866,
    "h": 267.7
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#3855B7
secondary
#C7B884
accent
#BB4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3855B7

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

Preview Lab → · Contrast checker → · Palette generator →

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