#3955AC#3955AC

#3955AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.143 H 267.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3955AC
RGBrgb(57, 85, 172)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(66.9%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.45, 18.74, -49.79)
CIE-LCHlch(38.45, 53.20, 290.62°)
OKLaboklab(47.62% -0.0066 -0.1428)
OKLCHoklch(47.62% 0.143 267.4)
XYZxyz(12.3797, 10.3442, 40.3660)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955AC #AC9039
analogous
#398FAC #3955AC #5639AC
triadic
#3955AC #AC3955 #55AC39
tetradic
#3955AC #AC398F #AC9039 #39AC56
square
#3955AC #AC398F #AC9039 #39AC56
split-complementary
#3955AC #AC5639 #8FAC39
monochromatic
#1B2850 #2A3E7E #3955AC #5A75C8 #889BD8

Accessibility & contrast

On white

6.84
#3955AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3955AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955AC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955AC#FFFFFF#000000##FFFFFF
##3955AC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3955ac;
/* rgb */ color: rgb(57, 85, 172);
/* oklch */ color: oklch(47.6% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#7c84c5',
    500: '#3955ac',
    950: '#000000',
  },
}
SCSS
$custom: #3955ac;
$custom-light: #7c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ac",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 225.391,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.14295,
    "h": 267.4
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3955AC

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

Preview Lab → · Contrast checker → · Palette generator →

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