#3957C0#3957C0

#3957C0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.168 H 267.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3957C0
RGBrgb(57, 87, 192)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(70.3%, 54.7%, 0%, 24.7%)
CIE-LABlab(40.39, 24.74, -58.40)
CIE-LCHlch(40.39, 63.42, 292.96°)
OKLaboklab(49.54% -0.0066 -0.1681)
OKLCHoklch(49.54% 0.168 267.7)
XYZxyz(14.6067, 11.4905, 51.3071)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C0 #C0A239
analogous
#399BC0 #3957C0 #5F39C0
triadic
#3957C0 #C03957 #57C039
tetradic
#3957C0 #C0399B #C0A239 #39C05F
square
#3957C0 #C0399B #C0A239 #39C05F
split-complementary
#3957C0 #C05F39 #9BC039
monochromatic
#1D2C62 #2B4291 #3957C0 #657DD1 #94A5DF

Accessibility & contrast

On white

6.37
#3957C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3957C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C0#FFFFFF#000000##FFFFFF
##3957C01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3957c0;
/* rgb */ color: rgb(57, 87, 192);
/* oklch */ color: oklch(49.5% 0.168 267.7);
Tailwind
colors: {
  custom: {
    50: '#8086d4',
    500: '#3957c0',
    950: '#000000',
  },
}
SCSS
$custom: #3957c0;
$custom-light: #8086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c0",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 226.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.16823,
    "h": 267.7
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3957C0

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

Preview Lab → · Contrast checker → · Palette generator →

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