#3955CD#3955CD

#3955CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.188 H 268.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3955CD
RGBrgb(57, 85, 205)
HSLhsl(229, 60%, 51%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(72.2%, 58.5%, 0%, 19.6%)
CIE-LABlab(40.85, 30.74, -65.19)
CIE-LCHlch(40.85, 72.08, 295.25°)
OKLaboklab(50.19% -0.0045 -0.1881)
OKLCHoklch(50.19% 0.188 268.6)
XYZxyz(15.9515, 11.7730, 59.1775)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955CD #CDB139
analogous
#399FCD #3955CD #6739CD
triadic
#3955CD #CD3955 #55CD39
tetradic
#3955CD #CD399F #CDB139 #39CD67
square
#3955CD #CD399F #CDB139 #39CD67
split-complementary
#3955CD #CD6739 #9FCD39
monochromatic
#1C2C6F #283FA0 #3955CD #6A7FD9 #9BA9E6

Accessibility & contrast

On white

6.26
#3955CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3955CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955CD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955CD#FFFFFF#000000##FFFFFF
##3955CD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3955cd;
/* rgb */ color: rgb(57, 85, 205);
/* oklch */ color: oklch(50.2% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#8384dd',
    500: '#3955cd',
    950: '#000000',
  },
}
SCSS
$custom: #3955cd;
$custom-light: #8384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3955cd",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 228.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.18816,
    "h": 268.6
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#3955CD
secondary
#D2C590
accent
#C545E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3955CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva