#3955C2#3955C2

#3955C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.173 H 268.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3955C2
RGBrgb(57, 85, 194)
HSLhsl(228, 55%, 49%)
HSVhsv(228, 71%, 76%)
CMYKcmyk(70.6%, 56.2%, 0%, 23.9%)
CIE-LABlab(40.02, 26.76, -60.18)
CIE-LCHlch(40.02, 65.86, 293.97°)
OKLaboklab(49.3% -0.0049 -0.1734)
OKLCHoklch(49.3% 0.173 268.4)
XYZxyz(14.6701, 11.2604, 52.4288)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955C2 #C2A639
analogous
#399AC2 #3955C2 #6139C2
triadic
#3955C2 #C23955 #55C239
tetradic
#3955C2 #C2399A #C2A639 #39C261
square
#3955C2 #C2399A #C2A639 #39C261
split-complementary
#3955C2 #C26139 #9AC239
monochromatic
#1D2C63 #2B4093 #3955C2 #667CD2 #95A5E0

Accessibility & contrast

On white

6.46
#3955C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3955C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3955C2#FFFFFF#000000##FFFFFF
##3955C21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3955c2;
/* rgb */ color: rgb(57, 85, 194);
/* oklch */ color: oklch(49.3% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#8184d5',
    500: '#3955c2',
    950: '#000000',
  },
}
SCSS
$custom: #3955c2;
$custom-light: #8184d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3955c2",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 227.737,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.17343,
    "h": 268.4
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#3955C2
secondary
#CBBE8B
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3955C2

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

Preview Lab → · Contrast checker → · Palette generator →

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