#3955AB#3955AB

#3955AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.142 H 267.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3955AB
RGBrgb(57, 85, 171)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(66.7%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.39, 18.37, -49.31)
CIE-LCHlch(38.39, 52.62, 290.44°)
OKLaboklab(47.55% -0.0067 -0.1414)
OKLCHoklch(47.55% 0.142 267.3)
XYZxyz(12.2840, 10.3060, 39.8621)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955AB #AB8F39
analogous
#398EAB #3955AB #5639AB
triadic
#3955AB #AB3955 #55AB39
tetradic
#3955AB #AB398E #AB8F39 #39AB56
square
#3955AB #AB398E #AB8F39 #39AB56
split-complementary
#3955AB #AB5639 #8EAB39
monochromatic
#1A274F #2A3E7D #3955AB #5975C8 #879BD7

Accessibility & contrast

On white

6.86
#3955AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3955AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955AB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955AB#FFFFFF#000000##FFFFFF
##3955AB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0155A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3955ab;
/* rgb */ color: rgb(57, 85, 171);
/* oklch */ color: oklch(47.5% 0.142 267.3);
Tailwind
colors: {
  custom: {
    50: '#7c84c5',
    500: '#3955ab',
    950: '#000000',
  },
}
SCSS
$custom: #3955ab;
$custom-light: #7c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ab",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 225.263,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47549,
    "c": 0.14153,
    "h": 267.3
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#3955AB
secondary
#C1B17F
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3955AB

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

Preview Lab → · Contrast checker → · Palette generator →

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