#3958AE#3958AE

#3958AE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.142 H 266.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3958AE
RGBrgb(57, 88, 174)
HSLhsl(224, 51%, 45%)
HSVhsv(224, 67%, 68%)
CMYKcmyk(67.2%, 49.4%, 0%, 31.8%)
CIE-LABlab(39.42, 17.51, -49.42)
CIE-LCHlch(39.42, 52.43, 289.51°)
OKLaboklab(48.4% -0.0092 -0.1417)
OKLCHoklch(48.4% 0.142 266.3)
XYZxyz(12.8144, 10.9041, 41.4656)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958AE #AE8F39
analogous
#3992AE #3958AE #5539AE
triadic
#3958AE #AE3958 #58AE39
tetradic
#3958AE #AE3992 #AE8F39 #39AE55
square
#3958AE #AE3992 #AE8F39 #39AE55
split-complementary
#3958AE #AE5539 #92AE39
monochromatic
#1B2952 #2A4180 #3958AE #5B78C9 #899ED8

Accessibility & contrast

On white

6.60
#3958AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3958AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958AE#FFFFFF#000000##FFFFFF
##3958AE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#0858AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3958ae;
/* rgb */ color: rgb(57, 88, 174);
/* oklch */ color: oklch(48.4% 0.142 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c86c7',
    500: '#3958ae',
    950: '#000000',
  },
}
SCSS
$custom: #3958ae;
$custom-light: #7c86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3958ae",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 224.103,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.14196,
    "h": 266.3
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3958AE

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

Preview Lab → · Contrast checker → · Palette generator →

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