#3958BE#3958BE

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

Color values

HEX#3958BE
RGBrgb(57, 88, 190)
HSLhsl(226, 54%, 48%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70%, 53.7%, 0%, 25.5%)
CIE-LABlab(40.52, 23.36, -57.04)
CIE-LCHlch(40.52, 61.64, 292.27°)
OKLaboklab(49.58% -0.0076 -0.1641)
OKLCHoklch(49.58% 0.164 267.4)
XYZxyz(14.4681, 11.5656, 50.1751)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958BE #BE9F39
analogous
#399ABE #3958BE #5C39BE
triadic
#3958BE #BE3958 #58BE39
tetradic
#3958BE #BE399A #BE9F39 #39BE5C
square
#3958BE #BE399A #BE9F39 #39BE5C
split-complementary
#3958BE #BE5C39 #9ABE39
monochromatic
#1D2C60 #2B428F #3958BE #647DD0 #93A4DF

Accessibility & contrast

On white

6.34
#3958BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3958BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958BE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958BE#FFFFFF#000000##FFFFFF
##3958BE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3958be;
/* rgb */ color: rgb(57, 88, 190);
/* oklch */ color: oklch(49.6% 0.164 267.4);
Tailwind
colors: {
  custom: {
    50: '#8086d2',
    500: '#3958be',
    950: '#000000',
  },
}
SCSS
$custom: #3958be;
$custom-light: #8086d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3958be",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 226.015,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.16425,
    "h": 267.4
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#3958BE
secondary
#CABB89
accent
#BB4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3958BE

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

Preview Lab → · Contrast checker → · Palette generator →

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