#3958A3#3958A3

#3958A3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.126 H 265.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3958A3
RGBrgb(57, 88, 163)
HSLhsl(222, 48%, 43%)
HSVhsv(222, 65%, 64%)
CMYKcmyk(65%, 46%, 0%, 36.1%)
CIE-LABlab(38.71, 13.50, -44.03)
CIE-LCHlch(38.71, 46.05, 287.05°)
OKLaboklab(47.63% -0.0108 -0.1258)
OKLCHoklch(47.63% 0.126 265.1)
XYZxyz(11.7856, 10.4926, 36.0474)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958A3 #A38439
analogous
#398DA3 #3958A3 #4F39A3
triadic
#3958A3 #A33958 #58A339
tetradic
#3958A3 #A3398D #A38439 #39A34F
square
#3958A3 #A3398D #A38439 #39A34F
split-complementary
#3958A3 #A34F39 #8DA339
monochromatic
#192748 #294076 #3958A3 #5576C4 #839AD4

Accessibility & contrast

On white

6.78
#3958A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3958A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958A3#FFFFFF#000000##FFFFFF
##3958A31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#2157A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3958a3;
/* rgb */ color: rgb(57, 88, 163);
/* oklch */ color: oklch(47.6% 0.126 265.1);
Tailwind
colors: {
  custom: {
    50: '#7a86bf',
    500: '#3958a3',
    950: '#000000',
  },
}
SCSS
$custom: #3958a3;
$custom-light: #7a86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3958a3",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 222.453,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.12627,
    "h": 265.1
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#3958A3
secondary
#BDAA7A
accent
#B050D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3958A3

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

Preview Lab → · Contrast checker → · Palette generator →

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