#3957C2#3957C2

#3957C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.171 H 267.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3957C2
RGBrgb(57, 87, 194)
HSLhsl(227, 55%, 49%)
HSVhsv(227, 71%, 76%)
CMYKcmyk(70.6%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.54, 25.47, -59.33)
CIE-LCHlch(40.54, 64.56, 293.23°)
OKLaboklab(49.69% -0.0065 -0.1708)
OKLCHoklch(49.69% 0.171 267.8)
XYZxyz(14.8298, 11.5798, 52.4821)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C2 #C2A439
analogous
#399CC2 #3957C2 #5F39C2
triadic
#3957C2 #C23957 #57C239
tetradic
#3957C2 #C2399C #C2A439 #39C25F
square
#3957C2 #C2399C #C2A439 #39C25F
split-complementary
#3957C2 #C25F39 #9CC239
monochromatic
#1D2D63 #2B4293 #3957C2 #667ED2 #95A6E0

Accessibility & contrast

On white

6.33
#3957C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3957C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C2#FFFFFF#000000##FFFFFF
##3957C21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3957c2;
/* rgb */ color: rgb(57, 87, 194);
/* oklch */ color: oklch(49.7% 0.171 267.8);
Tailwind
colors: {
  custom: {
    50: '#8186d5',
    500: '#3957c2',
    950: '#000000',
  },
}
SCSS
$custom: #3957c2;
$custom-light: #8186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c2",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 226.861,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.17095,
    "h": 267.8
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3957C2

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

Preview Lab → · Contrast checker → · Palette generator →

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