#3958AD#3958AD

#3958AD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.141 H 266.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3958AD
RGBrgb(57, 88, 173)
HSLhsl(224, 50%, 45%)
HSVhsv(224, 67%, 68%)
CMYKcmyk(67.1%, 49.1%, 0%, 32.2%)
CIE-LABlab(39.35, 17.15, -48.93)
CIE-LCHlch(39.35, 51.85, 289.31°)
OKLaboklab(48.33% -0.0093 -0.1402)
OKLCHoklch(48.33% 0.141 266.2)
XYZxyz(12.7173, 10.8652, 40.9541)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958AD #AD8E39
analogous
#3992AD #3958AD #5439AD
triadic
#3958AD #AD3958 #58AD39
tetradic
#3958AD #AD3992 #AD8E39 #39AD54
square
#3958AD #AD3992 #AD8E39 #39AD54
split-complementary
#3958AD #AD5439 #92AD39
monochromatic
#1B2951 #2A417F #3958AD #5A78C9 #889ED8

Accessibility & contrast

On white

6.62
#3958AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3958AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958AD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958AD#FFFFFF#000000##FFFFFF
##3958AD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62B0
Deuteranopia (green-blind)
#0C58AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3958ad;
/* rgb */ color: rgb(57, 88, 173);
/* oklch */ color: oklch(48.3% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c86c6',
    500: '#3958ad',
    950: '#000000',
  },
}
SCSS
$custom: #3958ad;
$custom-light: #7c86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3958ad",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 223.966,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.14054,
    "h": 266.2
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#3958AD
secondary
#C2B080
accent
#B54EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3958AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3958AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva