#3855CA#3855CA

#3855CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.184 H 268.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3855CA
RGBrgb(56, 85, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(72.3%, 57.9%, 0%, 20.8%)
CIE-LABlab(40.57, 29.53, -63.92)
CIE-LCHlch(40.57, 70.41, 294.80°)
OKLaboklab(49.89% -0.0055 -0.1844)
OKLCHoklch(49.89% 0.184 268.3)
XYZxyz(15.5364, 11.6004, 57.2860)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855CA #CAAD38
analogous
#389ECA #3855CA #6438CA
triadic
#3855CA #CA3855 #55CA38
tetradic
#3855CA #CA389E #CAAD38 #38CA64
square
#3855CA #CA389E #CAAD38 #38CA64
split-complementary
#3855CA #CA6438 #9ECA38
monochromatic
#1D2C6B #29409B #3855CA #687ED7 #99A8E4

Accessibility & contrast

On white

6.32
#3855CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3855CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3855CA#FFFFFF#000000##FFFFFF
##3855CA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3855ca;
/* rgb */ color: rgb(56, 85, 202);
/* oklch */ color: oklch(49.9% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#8284db',
    500: '#3855ca',
    950: '#000000',
  },
}
SCSS
$custom: #3855ca;
$custom-light: #8284db;
$custom-dark: #000000;
JSON
{
  "hex": "#3855ca",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 228.082,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.18445,
    "h": 268.3
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#3855CA
secondary
#CFC28E
accent
#C247E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3855CA

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

Preview Lab → · Contrast checker → · Palette generator →

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