#3958A5#3958A5

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

Color values

HEX#3958A5
RGBrgb(57, 88, 165)
HSLhsl(223, 49%, 44%)
HSVhsv(223, 65%, 65%)
CMYKcmyk(65.5%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.84, 14.23, -45.02)
CIE-LCHlch(38.84, 47.21, 287.54°)
OKLaboklab(47.77% -0.0105 -0.1287)
OKLCHoklch(47.77% 0.129 265.3)
XYZxyz(11.9662, 10.5648, 36.9986)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958A5 #A58639
analogous
#398EA5 #3958A5 #5039A5
triadic
#3958A5 #A53958 #58A539
tetradic
#3958A5 #A5398E #A58639 #39A550
square
#3958A5 #A5398E #A58639 #39A550
split-complementary
#3958A5 #A55039 #8EA539
monochromatic
#1A274A #294078 #3958A5 #5676C5 #849BD4

Accessibility & contrast

On white

6.75
#3958A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3958A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958A5#FFFFFF#000000##FFFFFF
##3958A51.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)
#3261A8
Deuteranopia (green-blind)
#1E57A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3958a5;
/* rgb */ color: rgb(57, 88, 165);
/* oklch */ color: oklch(47.8% 0.129 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b86c0',
    500: '#3958a5',
    950: '#000000',
  },
}
SCSS
$custom: #3958a5;
$custom-light: #7b86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3958a5",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 222.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.12914,
    "h": 265.3
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#3958A5
secondary
#BEAB7B
accent
#B150D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3958A5

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

Preview Lab → · Contrast checker → · Palette generator →

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