#3958BF#3958BF

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

Color values

HEX#3958BF
RGBrgb(57, 88, 191)
HSLhsl(226, 54%, 49%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70.2%, 53.9%, 0%, 25.1%)
CIE-LABlab(40.59, 23.73, -57.50)
CIE-LCHlch(40.59, 62.21, 292.42°)
OKLaboklab(49.66% -0.0075 -0.1655)
OKLCHoklch(49.66% 0.166 267.4)
XYZxyz(14.5778, 11.6094, 50.7527)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958BF #BFA039
analogous
#399BBF #3958BF #5D39BF
triadic
#3958BF #BF3958 #58BF39
tetradic
#3958BF #BF399B #BFA039 #39BF5D
square
#3958BF #BF399B #BFA039 #39BF5D
split-complementary
#3958BF #BF5D39 #9BBF39
monochromatic
#1D2D61 #2B4290 #3958BF #647DD1 #93A5DF

Accessibility & contrast

On white

6.32
#3958BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3958BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958BF#FFFFFF#000000##FFFFFF
##3958BF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3958bf;
/* rgb */ color: rgb(57, 88, 191);
/* oklch */ color: oklch(49.7% 0.166 267.4);
Tailwind
colors: {
  custom: {
    50: '#8086d3',
    500: '#3958bf',
    950: '#000000',
  },
}
SCSS
$custom: #3958bf;
$custom-light: #8086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3958bf",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 226.119,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.16562,
    "h": 267.4
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#3958BF
secondary
#CABB8A
accent
#BB4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3958BF

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

Preview Lab → · Contrast checker → · Palette generator →

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