#3957C8#3957C8

#3957C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.179 H 268.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3957C8
RGBrgb(57, 87, 200)
HSLhsl(227, 57%, 50%)
HSVhsv(227, 72%, 78%)
CMYKcmyk(71.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(40.98, 27.65, -62.09)
CIE-LCHlch(40.98, 67.97, 294.00°)
OKLaboklab(50.16% -0.0062 -0.1789)
OKLCHoklch(50.16% 0.179 268)
XYZxyz(15.5173, 11.8548, 56.1028)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957C8 #C8AA39
analogous
#399EC8 #3957C8 #6339C8
triadic
#3957C8 #C83957 #57C839
tetradic
#3957C8 #C8399E #C8AA39 #39C863
square
#3957C8 #C8399E #C8AA39 #39C863
split-complementary
#3957C8 #C86339 #9EC839
monochromatic
#1D2D69 #2B4299 #3957C8 #6980D5 #99A8E3

Accessibility & contrast

On white

6.23
#3957C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3957C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957C8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957C8#FFFFFF#000000##FFFFFF
##3957C81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3957c8;
/* rgb */ color: rgb(57, 87, 200);
/* oklch */ color: oklch(50.2% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#8286da',
    500: '#3957c8',
    950: '#000000',
  },
}
SCSS
$custom: #3957c8;
$custom-light: #8286da;
$custom-dark: #000000;
JSON
{
  "hex": "#3957c8",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 227.413,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.17906,
    "h": 268
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#3957C8
secondary
#CEC18F
accent
#C048E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3957C8

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

Preview Lab → · Contrast checker → · Palette generator →

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