#3955AD#3955AD

#3955AD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.144 H 267.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3955AD
RGBrgb(57, 85, 173)
HSLhsl(226, 50%, 45%)
HSVhsv(226, 67%, 68%)
CMYKcmyk(67.1%, 50.9%, 0%, 32.2%)
CIE-LABlab(38.52, 19.10, -50.27)
CIE-LCHlch(38.52, 53.78, 290.81°)
OKLaboklab(47.69% -0.0065 -0.1442)
OKLCHoklch(47.69% 0.144 267.4)
XYZxyz(12.4761, 10.3828, 40.8737)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955AD #AD9139
analogous
#398FAD #3955AD #5739AD
triadic
#3955AD #AD3955 #55AD39
tetradic
#3955AD #AD398F #AD9139 #39AD57
square
#3955AD #AD398F #AD9139 #39AD57
split-complementary
#3955AD #AD5739 #8FAD39
monochromatic
#1B2851 #2A3E7F #3955AD #5A75C9 #889CD8

Accessibility & contrast

On white

6.83
#3955AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3955AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955AD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955AD#FFFFFF#000000##FFFFFF
##3955AD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3955ad;
/* rgb */ color: rgb(57, 85, 173);
/* oklch */ color: oklch(47.7% 0.144 267.4);
Tailwind
colors: {
  custom: {
    50: '#7c84c6',
    500: '#3955ad',
    950: '#000000',
  },
}
SCSS
$custom: #3955ad;
$custom-light: #7c84c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ad",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 225.517,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.14437,
    "h": 267.4
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#3955AD
secondary
#C2B280
accent
#B84EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3955AD

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

Preview Lab → · Contrast checker → · Palette generator →

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