#3958C0#3958C0

#3958C0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.167 H 267.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3958C0
RGBrgb(57, 88, 192)
HSLhsl(226, 54%, 49%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70.3%, 54.2%, 0%, 24.7%)
CIE-LABlab(40.66, 24.09, -57.97)
CIE-LCHlch(40.66, 62.78, 292.57°)
OKLaboklab(49.74% -0.0074 -0.1668)
OKLCHoklch(49.74% 0.167 267.4)
XYZxyz(14.6882, 11.6536, 51.3342)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958C0 #C0A139
analogous
#399CC0 #3958C0 #5E39C0
triadic
#3958C0 #C03958 #58C039
tetradic
#3958C0 #C0399C #C0A139 #39C05E
square
#3958C0 #C0399C #C0A139 #39C05E
split-complementary
#3958C0 #C05E39 #9CC039
monochromatic
#1D2D62 #2B4291 #3958C0 #657ED1 #94A5DF

Accessibility & contrast

On white

6.30
#3958C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3958C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958C0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958C0#FFFFFF#000000##FFFFFF
##3958C01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3958c0;
/* rgb */ color: rgb(57, 88, 192);
/* oklch */ color: oklch(49.7% 0.167 267.4);
Tailwind
colors: {
  custom: {
    50: '#8086d4',
    500: '#3958c0',
    950: '#000000',
  },
}
SCSS
$custom: #3958c0;
$custom-light: #8086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3958c0",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 226.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.16699,
    "h": 267.4
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#3958C0
secondary
#CBBC8A
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3958C0

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

Preview Lab → · Contrast checker → · Palette generator →

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