#3958CC#3958CC

#3958CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.183 H 267.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3958CC
RGBrgb(57, 88, 204)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(72.1%, 56.9%, 0%, 20%)
CIE-LABlab(41.54, 28.46, -63.49)
CIE-LCHlch(41.54, 69.58, 294.14°)
OKLaboklab(50.68% -0.0068 -0.1831)
OKLCHoklch(50.68% 0.183 267.9)
XYZxyz(16.0724, 12.2073, 58.6242)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3958CC #CCAD39
analogous
#39A1CC #3958CC #6339CC
triadic
#3958CC #CC3958 #58CC39
tetradic
#3958CC #CC39A1 #CCAD39 #39CC63
square
#3958CC #CC39A1 #CCAD39 #39CC63
split-complementary
#3958CC #CC6339 #A1CC39
monochromatic
#1C2E6E #29429F #3958CC #6A81D9 #9AAAE5

Accessibility & contrast

On white

6.10
#3958CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3958CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3958CC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3958CC#FFFFFF#000000##FFFFFF
##3958CC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3958cc;
/* rgb */ color: rgb(57, 88, 204);
/* oklch */ color: oklch(50.7% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3958cc',
    950: '#000000',
  },
}
SCSS
$custom: #3958cc;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3958cc",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 227.347,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.18319,
    "h": 267.9
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#3958CC
secondary
#D1C390
accent
#C146E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3958CC

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

Preview Lab → · Contrast checker → · Palette generator →

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