#3957CD#3957CD

#3957CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.186 H 268.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3957CD
RGBrgb(57, 87, 205)
HSLhsl(228, 60%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(72.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(41.36, 29.46, -64.36)
CIE-LCHlch(41.36, 70.79, 294.60°)
OKLaboklab(50.57% -0.006 -0.1856)
OKLCHoklch(50.57% 0.186 268.1)
XYZxyz(16.1112, 12.0923, 59.2307)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957CD #CDAF39
analogous
#39A1CD #3957CD #6539CD
triadic
#3957CD #CD3957 #57CD39
tetradic
#3957CD #CD39A1 #CDAF39 #39CD65
square
#3957CD #CD39A1 #CDAF39 #39CD65
split-complementary
#3957CD #CD6539 #A1CD39
monochromatic
#1C2D6F #2841A0 #3957CD #6A80D9 #9BAAE6

Accessibility & contrast

On white

6.14
#3957CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3957CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957CD#FFFFFF#000000##FFFFFF
##3957CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3957cd;
/* rgb */ color: rgb(57, 87, 205);
/* oklch */ color: oklch(50.6% 0.186 268.1);
Tailwind
colors: {
  custom: {
    50: '#8386dd',
    500: '#3957cd',
    950: '#000000',
  },
}
SCSS
$custom: #3957cd;
$custom-light: #8386dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3957cd",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 227.838,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.18573,
    "h": 268.1
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#3957CD
secondary
#D2C490
accent
#C345E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3957CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3957CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva