#3955AE#3955AE

#3955AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.146 H 267.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3955AE
RGBrgb(57, 85, 174)
HSLhsl(226, 51%, 45%)
HSVhsv(226, 67%, 68%)
CMYKcmyk(67.2%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.59, 19.47, -50.76)
CIE-LCHlch(38.59, 54.36, 290.98°)
OKLaboklab(47.77% -0.0064 -0.1456)
OKLCHoklch(47.77% 0.146 267.5)
XYZxyz(12.5732, 10.4217, 41.3852)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955AE #AE9239
analogous
#398FAE #3955AE #5739AE
triadic
#3955AE #AE3955 #55AE39
tetradic
#3955AE #AE398F #AE9239 #39AE57
square
#3955AE #AE398F #AE9239 #39AE57
split-complementary
#3955AE #AE5739 #8FAE39
monochromatic
#1B2852 #2A3E80 #3955AE #5B75C9 #899CD8

Accessibility & contrast

On white

6.81
#3955AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3955AE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955AE#FFFFFF#000000##FFFFFF
##3955AE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3955ae;
/* rgb */ color: rgb(57, 85, 174);
/* oklch */ color: oklch(47.8% 0.146 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d84c7',
    500: '#3955ae',
    950: '#000000',
  },
}
SCSS
$custom: #3955ae;
$custom-light: #7d84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ae",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 225.641,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.14578,
    "h": 267.5
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#3955AE
secondary
#C3B380
accent
#B94EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3955AE

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

Preview Lab → · Contrast checker → · Palette generator →

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