#3957C1#3957C1

#3957C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.170 H 267.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#3957C1
RGBrgb(57, 87, 193)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 76%)
CMYKcmyk(70.5%, 54.9%, 0%, 24.3%)
CIE-LABlab(40.47, 25.10, -58.87)
CIE-LCHlch(40.47, 63.99, 293.10°)
OKLaboklab(49.61% -0.0065 -0.1695)
OKLCHoklch(49.61% 0.17 267.8)
XYZxyz(14.7178, 11.5350, 51.8926)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C1 #C1A339
analogous
#399BC1 #3957C1 #5F39C1
triadic
#3957C1 #C13957 #57C139
tetradic
#3957C1 #C1399B #C1A339 #39C15F
square
#3957C1 #C1399B #C1A339 #39C15F
split-complementary
#3957C1 #C15F39 #9BC139
monochromatic
#1D2C63 #2B4292 #3957C1 #667DD2 #95A5E0

Accessibility & contrast

On white

6.35
#3957C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3957C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C1#FFFFFF#000000##FFFFFF
##3957C11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3957c1;
/* rgb */ color: rgb(57, 87, 193);
/* oklch */ color: oklch(49.6% 0.170 267.8);
Tailwind
colors: {
  custom: {
    50: '#8086d4',
    500: '#3957c1',
    950: '#000000',
  },
}
SCSS
$custom: #3957c1;
$custom-light: #8086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c1",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 193
  },
  "hsl": {
    "h": 226.765,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.1696,
    "h": 267.8
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#3957C1
secondary
#CBBD8B
accent
#BD4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3957C1

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

Preview Lab → · Contrast checker → · Palette generator →

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