#3957D9#3957D9

#3957D9 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.201 H 268.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3957D9
RGBrgb(57, 87, 217)
HSLhsl(229, 68%, 54%)
HSVhsv(229, 74%, 85%)
CMYKcmyk(73.7%, 59.9%, 0%, 14.9%)
CIE-LABlab(42.30, 33.79, -69.73)
CIE-LCHlch(42.30, 77.48, 295.85°)
OKLaboklab(51.56% -0.0058 -0.2014)
OKLCHoklch(51.56% 0.201 268.3)
XYZxyz(17.6156, 12.6941, 67.1540)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957D9 #D9BB39
analogous
#39A7D9 #3957D9 #6B39D9
triadic
#3957D9 #D93957 #57D939
tetradic
#3957D9 #D939A7 #D9BB39 #39D96B
square
#3957D9 #D939A7 #D9BB39 #39D96B
split-complementary
#3957D9 #D96B39 #A7D939
monochromatic
#182C7F #223DB3 #3957D9 #6C83E3 #A0AEED

Accessibility & contrast

On white

5.93
#3957D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3957D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957D9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957D9#FFFFFF#000000##FFFFFF
##3957D91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3957d9;
/* rgb */ color: rgb(57, 87, 217);
/* oklch */ color: oklch(51.6% 0.201 268.3);
Tailwind
colors: {
  custom: {
    50: '#8586e6',
    500: '#3957d9',
    950: '#000000',
  },
}
SCSS
$custom: #3957d9;
$custom-light: #8586e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3957d9",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 228.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.20146,
    "h": 268.3
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#3957D9
secondary
#D9CC95
accent
#CA3DEB
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3957D9

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

Preview Lab → · Contrast checker → · Palette generator →

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