#3958AA#3958AA

#3958AA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.136 H 265.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3958AA
RGBrgb(57, 88, 170)
HSLhsl(224, 50%, 45%)
HSVhsv(224, 66%, 67%)
CMYKcmyk(66.5%, 48.2%, 0%, 33.3%)
CIE-LABlab(39.16, 16.05, -47.47)
CIE-LCHlch(39.16, 50.11, 288.68°)
OKLaboklab(48.12% -0.0097 -0.1359)
OKLCHoklch(48.12% 0.136 265.9)
XYZxyz(12.4303, 10.7504, 39.4424)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958AA #AA8B39
analogous
#3991AA #3958AA #5339AA
triadic
#3958AA #AA3958 #58AA39
tetradic
#3958AA #AA3991 #AA8B39 #39AA53
square
#3958AA #AA3991 #AA8B39 #39AA53
split-complementary
#3958AA #AA5339 #91AA39
monochromatic
#1A294E #2A407C #3958AA #5977C7 #879DD7

Accessibility & contrast

On white

6.67
#3958AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3958AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958AA#FFFFFF#000000##FFFFFF
##3958AA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#1557A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3958aa;
/* rgb */ color: rgb(57, 88, 170);
/* oklch */ color: oklch(48.1% 0.136 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c86c4',
    500: '#3958aa',
    950: '#000000',
  },
}
SCSS
$custom: #3958aa;
$custom-light: #7c86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3958aa",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 223.54,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.13628,
    "h": 265.9
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#3958AA
secondary
#C1AE7E
accent
#B34ED9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3958AA

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

Preview Lab → · Contrast checker → · Palette generator →

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