#3957AF#3957AF

#3957AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.145 H 266.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3957AF
RGBrgb(57, 87, 175)
HSLhsl(225, 51%, 45%)
HSVhsv(225, 67%, 69%)
CMYKcmyk(67.4%, 50.3%, 0%, 31.4%)
CIE-LABlab(39.21, 18.53, -50.35)
CIE-LCHlch(39.21, 53.65, 290.20°)
OKLaboklab(48.26% -0.0081 -0.1444)
OKLCHoklch(48.26% 0.145 266.8)
XYZxyz(12.8307, 10.7802, 41.9537)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957AF #AF9139
analogous
#3992AF #3957AF #5639AF
triadic
#3957AF #AF3957 #57AF39
tetradic
#3957AF #AF3992 #AF9139 #39AF56
square
#3957AF #AF3992 #AF9139 #39AF56
split-complementary
#3957AF #AF5639 #92AF39
monochromatic
#1B2953 #2A4081 #3957AF #5B77CA #8A9ED9

Accessibility & contrast

On white

6.65
#3957AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3957AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957AF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957AF#FFFFFF#000000##FFFFFF
##3957AF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3957af;
/* rgb */ color: rgb(57, 87, 175);
/* oklch */ color: oklch(48.3% 0.145 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d85c7',
    500: '#3957af',
    950: '#000000',
  },
}
SCSS
$custom: #3957af;
$custom-light: #7d85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3957af",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 224.746,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.14464,
    "h": 266.8
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#3957AF
secondary
#C3B281
accent
#B74DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3957AF

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

Preview Lab → · Contrast checker → · Palette generator →

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