#3955C5#3955C5

#3955C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.177 H 268.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3955C5
RGBrgb(57, 85, 197)
HSLhsl(228, 55%, 50%)
HSVhsv(228, 71%, 77%)
CMYKcmyk(71.1%, 56.9%, 0%, 22.7%)
CIE-LABlab(40.24, 27.85, -61.56)
CIE-LCHlch(40.24, 67.57, 294.34°)
OKLaboklab(49.54% -0.0048 -0.1774)
OKLCHoklch(49.54% 0.177 268.5)
XYZxyz(15.0104, 11.3965, 54.2212)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955C5 #C5A939
analogous
#399BC5 #3955C5 #6339C5
triadic
#3955C5 #C53955 #55C539
tetradic
#3955C5 #C5399B #C5A939 #39C563
square
#3955C5 #C5399B #C5A939 #39C563
split-complementary
#3955C5 #C56339 #9BC539
monochromatic
#1E2C66 #2B4196 #3955C5 #687DD3 #97A6E1

Accessibility & contrast

On white

6.40
#3955C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3955C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3955C5#FFFFFF#000000##FFFFFF
##3955C51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3955c5;
/* rgb */ color: rgb(57, 85, 197);
/* oklch */ color: oklch(49.5% 0.177 268.5);
Tailwind
colors: {
  custom: {
    50: '#8184d7',
    500: '#3955c5',
    950: '#000000',
  },
}
SCSS
$custom: #3955c5;
$custom-light: #8184d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3955c5",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 228,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.17748,
    "h": 268.5
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#3955C5
secondary
#CDC08D
accent
#C149DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3955C5

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

Preview Lab → · Contrast checker → · Palette generator →

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