#3958C1#3958C1

#3958C1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.168 H 267.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3958C1
RGBrgb(57, 88, 193)
HSLhsl(226, 54%, 49%)
HSVhsv(226, 70%, 76%)
CMYKcmyk(70.5%, 54.4%, 0%, 24.3%)
CIE-LABlab(40.73, 24.46, -58.44)
CIE-LCHlch(40.73, 63.35, 292.71°)
OKLaboklab(49.81% -0.0074 -0.1682)
OKLCHoklch(49.81% 0.168 267.5)
XYZxyz(14.7994, 11.6981, 51.9197)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958C1 #C1A239
analogous
#399CC1 #3958C1 #5E39C1
triadic
#3958C1 #C13958 #58C139
tetradic
#3958C1 #C1399C #C1A239 #39C15E
square
#3958C1 #C1399C #C1A239 #39C15E
split-complementary
#3958C1 #C15E39 #9CC139
monochromatic
#1D2D63 #2B4292 #3958C1 #667ED2 #95A6E0

Accessibility & contrast

On white

6.29
#3958C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3958C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958C1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958C1#FFFFFF#000000##FFFFFF
##3958C11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3958c1;
/* rgb */ color: rgb(57, 88, 193);
/* oklch */ color: oklch(49.8% 0.168 267.5);
Tailwind
colors: {
  custom: {
    50: '#8086d4',
    500: '#3958c1',
    950: '#000000',
  },
}
SCSS
$custom: #3958c1;
$custom-light: #8086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3958c1",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 226.324,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.16835,
    "h": 267.5
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#3958C1
secondary
#CBBC8B
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3958C1

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

Preview Lab → · Contrast checker → · Palette generator →

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