#3955AA#3955AA

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

Color values

HEX#3955AA
RGBrgb(57, 85, 170)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 66%, 67%)
CMYKcmyk(66.5%, 50%, 0%, 33.3%)
CIE-LABlab(38.32, 18.01, -48.82)
CIE-LCHlch(38.32, 52.04, 290.25°)
OKLaboklab(47.48% -0.0068 -0.1399)
OKLCHoklch(47.48% 0.14 267.2)
XYZxyz(12.1890, 10.2680, 39.3620)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955AA #AA8E39
analogous
#398EAA #3955AA #5639AA
triadic
#3955AA #AA3955 #55AA39
tetradic
#3955AA #AA398E #AA8E39 #39AA56
square
#3955AA #AA398E #AA8E39 #39AA56
split-complementary
#3955AA #AA5639 #8EAA39
monochromatic
#1A274E #2A3E7C #3955AA #5974C7 #879BD7

Accessibility & contrast

On white

6.88
#3955AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3955AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3955AA#FFFFFF#000000##FFFFFF
##3955AA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3955aa;
/* rgb */ color: rgb(57, 85, 170);
/* oklch */ color: oklch(47.5% 0.140 267.2);
Tailwind
colors: {
  custom: {
    50: '#7c84c4',
    500: '#3955aa',
    950: '#000000',
  },
}
SCSS
$custom: #3955aa;
$custom-light: #7c84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3955aa",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 225.133,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.14011,
    "h": 267.2
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#3955AA
secondary
#C1B07E
accent
#B74ED9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3955AA

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

Preview Lab → · Contrast checker → · Palette generator →

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