#3955CC#3955CC

#3955CC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.187 H 268.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3955CC
RGBrgb(57, 85, 204)
HSLhsl(229, 59%, 51%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(72.1%, 58.3%, 0%, 20%)
CIE-LABlab(40.78, 30.38, -64.74)
CIE-LCHlch(40.78, 71.52, 295.14°)
OKLaboklab(50.1% -0.0046 -0.1868)
OKLCHoklch(50.1% 0.187 268.6)
XYZxyz(15.8312, 11.7248, 58.5438)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955CC #CCB039
analogous
#399FCC #3955CC #6639CC
triadic
#3955CC #CC3955 #55CC39
tetradic
#3955CC #CC399F #CCB039 #39CC66
square
#3955CC #CC399F #CCB039 #39CC66
split-complementary
#3955CC #CC6639 #9FCC39
monochromatic
#1C2C6E #293F9F #3955CC #6A7FD9 #9AA9E5

Accessibility & contrast

On white

6.28
#3955CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3955CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955CC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955CC#FFFFFF#000000##FFFFFF
##3955CC1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3955cc;
/* rgb */ color: rgb(57, 85, 204);
/* oklch */ color: oklch(50.1% 0.187 268.6);
Tailwind
colors: {
  custom: {
    50: '#8384dc',
    500: '#3955cc',
    950: '#000000',
  },
}
SCSS
$custom: #3955cc;
$custom-light: #8384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3955cc",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 228.571,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.18683,
    "h": 268.6
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#3955CC
secondary
#D1C590
accent
#C446E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955CC

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

Preview Lab → · Contrast checker → · Palette generator →

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