#3957A9#3957A9

#3957A9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.136 H 266.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3957A9
RGBrgb(57, 87, 169)
HSLhsl(224, 50%, 44%)
HSVhsv(224, 66%, 66%)
CMYKcmyk(66.3%, 48.5%, 0%, 33.7%)
CIE-LABlab(38.81, 16.34, -47.43)
CIE-LCHlch(38.81, 50.17, 289.00°)
OKLaboklab(47.83% -0.0089 -0.1358)
OKLCHoklch(47.83% 0.136 266.2)
XYZxyz(12.2545, 10.5497, 38.9189)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3957A9 #A98B39
analogous
#398FA9 #3957A9 #5339A9
triadic
#3957A9 #A93957 #57A939
tetradic
#3957A9 #A9398F #A98B39 #39A953
square
#3957A9 #A9398F #A98B39 #39A953
split-complementary
#3957A9 #A95339 #8FA939
monochromatic
#1A284D #2A3F7B #3957A9 #5876C7 #869CD6

Accessibility & contrast

On white

6.75
#3957A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3957A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3957A9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3957A9#FFFFFF#000000##FFFFFF
##3957A91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#1357A7
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3957a9;
/* rgb */ color: rgb(57, 87, 169);
/* oklch */ color: oklch(47.8% 0.136 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b85c3',
    500: '#3957a9',
    950: '#000000',
  },
}
SCSS
$custom: #3957a9;
$custom-light: #7b85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3957a9",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 223.929,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.13613,
    "h": 266.2
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#3957A9
secondary
#C0AE7E
accent
#B44FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3957A9

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

Preview Lab → · Contrast checker → · Palette generator →

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