#3958CE#3958CE

#3958CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.186 H 267.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3958CE
RGBrgb(57, 88, 206)
HSLhsl(228, 60%, 52%)
HSVhsv(228, 72%, 81%)
CMYKcmyk(72.3%, 57.3%, 0%, 19.2%)
CIE-LABlab(41.69, 29.19, -64.40)
CIE-LCHlch(41.69, 70.70, 294.38°)
OKLaboklab(50.84% -0.0067 -0.1857)
OKLCHoklch(50.84% 0.186 267.9)
XYZxyz(16.3138, 12.3038, 59.8957)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958CE #CEAF39
analogous
#39A3CE #3958CE #6539CE
triadic
#3958CE #CE3958 #58CE39
tetradic
#3958CE #CE39A3 #CEAF39 #39CE65
square
#3958CE #CE39A3 #CEAF39 #39CE65
split-complementary
#3958CE #CE6539 #A3CE39
monochromatic
#1C2E71 #2841A2 #3958CE #6A81DA #9BABE6

Accessibility & contrast

On white

6.07
#3958CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3958CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3958CE#FFFFFF#000000##FFFFFF
##3958CE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3958ce;
/* rgb */ color: rgb(57, 88, 206);
/* oklch */ color: oklch(50.8% 0.186 267.9);
Tailwind
colors: {
  custom: {
    50: '#8386de',
    500: '#3958ce',
    950: '#000000',
  },
}
SCSS
$custom: #3958ce;
$custom-light: #8386de;
$custom-dark: #000000;
JSON
{
  "hex": "#3958ce",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 227.517,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.18584,
    "h": 267.9
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#3958CE
secondary
#D2C591
accent
#C244E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3958CE

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

Preview Lab → · Contrast checker → · Palette generator →

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