#3958BC#3958BC

#3958BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.162 H 267.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3958BC
RGBrgb(57, 88, 188)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 70%, 74%)
CMYKcmyk(69.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(40.38, 22.63, -56.10)
CIE-LCHlch(40.38, 60.49, 291.97°)
OKLaboklab(49.43% -0.0077 -0.1613)
OKLCHoklch(49.43% 0.162 267.2)
XYZxyz(14.2510, 11.4787, 49.0318)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958BC #BC9D39
analogous
#3999BC #3958BC #5C39BC
triadic
#3958BC #BC3958 #58BC39
tetradic
#3958BC #BC3999 #BC9D39 #39BC5C
square
#3958BC #BC3999 #BC9D39 #39BC5C
split-complementary
#3958BC #BC5C39 #99BC39
monochromatic
#1D2C5E #2B428D #3958BC #637CD0 #92A4DE

Accessibility & contrast

On white

6.37
#3958BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3958BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958BC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958BC#FFFFFF#000000##FFFFFF
##3958BC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3958bc;
/* rgb */ color: rgb(57, 88, 188);
/* oklch */ color: oklch(49.4% 0.162 267.2);
Tailwind
colors: {
  custom: {
    50: '#7f86d1',
    500: '#3958bc',
    950: '#000000',
  },
}
SCSS
$custom: #3958bc;
$custom-light: #7f86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3958bc",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 225.802,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.1615,
    "h": 267.2
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#3958BC
secondary
#C9B988
accent
#BA4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3958BC

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

Preview Lab → · Contrast checker → · Palette generator →

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