#3955C7#3955C7

#3955C7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.180 H 268.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3955C7
RGBrgb(57, 85, 199)
HSLhsl(228, 56%, 50%)
HSVhsv(228, 71%, 78%)
CMYKcmyk(71.4%, 57.3%, 0%, 22%)
CIE-LABlab(40.39, 28.57, -62.47)
CIE-LCHlch(40.39, 68.70, 294.58°)
OKLaboklab(49.7% -0.0047 -0.1801)
OKLCHoklch(49.7% 0.18 268.5)
XYZxyz(15.2411, 11.4888, 55.4361)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955C7 #C7AB39
analogous
#399CC7 #3955C7 #6439C7
triadic
#3955C7 #C73955 #55C739
tetradic
#3955C7 #C7399C #C7AB39 #39C764
square
#3955C7 #C7399C #C7AB39 #39C764
split-complementary
#3955C7 #C76439 #9CC739
monochromatic
#1D2C68 #2B4098 #3955C7 #697ED4 #98A7E2

Accessibility & contrast

On white

6.37
#3955C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3955C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3955C7#FFFFFF#000000##FFFFFF
##3955C71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3955c7;
/* rgb */ color: rgb(57, 85, 199);
/* oklch */ color: oklch(49.7% 0.180 268.5);
Tailwind
colors: {
  custom: {
    50: '#8284d9',
    500: '#3955c7',
    950: '#000000',
  },
}
SCSS
$custom: #3955c7;
$custom-light: #8284d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3955c7",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 228.169,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.18017,
    "h": 268.5
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#3955C7
secondary
#CEC18E
accent
#C249DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955C7

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

Preview Lab → · Contrast checker → · Palette generator →

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