#3957CF#3957CF

#3957CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.188 H 268.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3957CF
RGBrgb(57, 87, 207)
HSLhsl(228, 61%, 52%)
HSVhsv(228, 72%, 81%)
CMYKcmyk(72.5%, 58%, 0%, 18.8%)
CIE-LABlab(41.52, 30.19, -65.27)
CIE-LCHlch(41.52, 71.91, 294.82°)
OKLaboklab(50.73% -0.006 -0.1883)
OKLCHoklch(50.73% 0.188 268.2)
XYZxyz(16.3541, 12.1895, 60.5103)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957CF #CFB139
analogous
#39A2CF #3957CF #6639CF
triadic
#3957CF #CF3957 #57CF39
tetradic
#3957CF #CF39A2 #CFB139 #39CF66
square
#3957CF #CF39A2 #CFB139 #39CF66
split-complementary
#3957CF #CF6639 #A2CF39
monochromatic
#1C2D72 #2840A3 #3957CF #6A81DB #9CABE7

Accessibility & contrast

On white

6.11
#3957CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3957CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957CF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957CF#FFFFFF#000000##FFFFFF
##3957CF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3957cf;
/* rgb */ color: rgb(57, 87, 207);
/* oklch */ color: oklch(50.7% 0.188 268.2);
Tailwind
colors: {
  custom: {
    50: '#8386df',
    500: '#3957cf',
    950: '#000000',
  },
}
SCSS
$custom: #3957cf;
$custom-light: #8386df;
$custom-dark: #000000;
JSON
{
  "hex": "#3957cf",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 228,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.18838,
    "h": 268.2
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#3957CF
secondary
#D3C691
accent
#C444E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3957CF

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

Preview Lab → · Contrast checker → · Palette generator →

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