#3855DB#3855DB

#3855DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.3% C 0.207 H 268.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3855DB
RGBrgb(56, 85, 219)
HSLhsl(229, 69%, 54%)
HSVhsv(229, 74%, 86%)
CMYKcmyk(74.4%, 61.2%, 0%, 14.1%)
CIE-LABlab(41.92, 35.65, -71.49)
CIE-LCHlch(41.92, 79.88, 296.51°)
OKLaboklab(51.32% -0.0054 -0.2066)
OKLCHoklch(51.32% 0.207 268.5)
XYZxyz(17.6611, 12.4503, 68.4765)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855DB #DBBE38
analogous
#38A7DB #3855DB #6D38DB
triadic
#3855DB #DB3855 #55DB38
tetradic
#3855DB #DB38A7 #DBBE38 #38DB6D
square
#3855DB #DB38A7 #DBBE38 #38DB6D
split-complementary
#3855DB #DB6D38 #A7DB38
monochromatic
#172A81 #213BB5 #3855DB #6C81E4 #A0AEEE

Accessibility & contrast

On white

6.02
#3855DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3855DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855DB#FFFFFF#000000##FFFFFF
##3855DB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3855db;
/* rgb */ color: rgb(56, 85, 219);
/* oklch */ color: oklch(51.3% 0.207 268.5);
Tailwind
colors: {
  custom: {
    50: '#8684e7',
    500: '#3855db',
    950: '#000000',
  },
}
SCSS
$custom: #3855db;
$custom-light: #8684e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3855db",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 229.325,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.20665,
    "h": 268.5
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#3855DB
secondary
#DACE95
accent
#CD3CEC
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3855DB

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

Preview Lab → · Contrast checker → · Palette generator →

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