#3958C6#3958C6

#3958C6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.175 H 267.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3958C6
RGBrgb(57, 88, 198)
HSLhsl(227, 55%, 50%)
HSVhsv(227, 71%, 78%)
CMYKcmyk(71.2%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.10, 26.28, -60.75)
CIE-LCHlch(41.10, 66.19, 293.39°)
OKLaboklab(50.2% -0.0071 -0.175)
OKLCHoklch(50.2% 0.175 267.7)
XYZxyz(15.3666, 11.9249, 54.9070)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958C6 #C6A739
analogous
#399EC6 #3958C6 #6139C6
triadic
#3958C6 #C63958 #58C639
tetradic
#3958C6 #C6399E #C6A739 #39C661
square
#3958C6 #C6399E #C6A739 #39C661
split-complementary
#3958C6 #C66139 #9EC639
monochromatic
#1E2E67 #2B4396 #3958C6 #6980D4 #98A8E1

Accessibility & contrast

On white

6.20
#3958C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3958C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958C6#FFFFFF#000000##FFFFFF
##3958C61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3958c6;
/* rgb */ color: rgb(57, 88, 198);
/* oklch */ color: oklch(50.2% 0.175 267.7);
Tailwind
colors: {
  custom: {
    50: '#8186d8',
    500: '#3958c6',
    950: '#000000',
  },
}
SCSS
$custom: #3958c6;
$custom-light: #8186d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3958c6",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 226.809,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.17513,
    "h": 267.7
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#3958C6
secondary
#CDBF8E
accent
#BE49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3958C6

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

Preview Lab → · Contrast checker → · Palette generator →

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