#3955A6#3955A6

#3955A6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.134 H 266.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3955A6
RGBrgb(57, 85, 166)
HSLhsl(225, 49%, 44%)
HSVhsv(225, 66%, 65%)
CMYKcmyk(65.7%, 48.8%, 0%, 34.9%)
CIE-LABlab(38.05, 16.55, -46.87)
CIE-LCHlch(38.05, 49.70, 289.45°)
OKLaboklab(47.19% -0.0073 -0.1342)
OKLCHoklch(47.19% 0.134 266.9)
XYZxyz(11.8164, 10.1189, 37.3994)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955A6 #A68A39
analogous
#398BA6 #3955A6 #5339A6
triadic
#3955A6 #A63955 #55A639
tetradic
#3955A6 #A6398B #A68A39 #39A653
square
#3955A6 #A6398B #A68A39 #39A653
split-complementary
#3955A6 #A65339 #8BA639
monochromatic
#1A264B #293E78 #3955A6 #5773C5 #8499D5

Accessibility & contrast

On white

6.94
#3955A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3955A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3955A6#FFFFFF#000000##FFFFFF
##3955A61.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#1355A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3955a6;
/* rgb */ color: rgb(57, 85, 166);
/* oklch */ color: oklch(47.2% 0.134 266.9);
Tailwind
colors: {
  custom: {
    50: '#7b84c1',
    500: '#3955a6',
    950: '#000000',
  },
}
SCSS
$custom: #3955a6;
$custom-light: #7b84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3955a6",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 224.587,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.1344,
    "h": 266.9
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#3955A6
secondary
#BFAE7C
accent
#B54FD8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3955A6

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

Preview Lab → · Contrast checker → · Palette generator →

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