#3956CA#3956CA

#3956CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.183 H 268.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3956CA
RGBrgb(57, 86, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(71.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.88, 29.02, -63.42)
CIE-LCHlch(40.88, 69.74, 294.59°)
OKLaboklab(50.13% -0.0054 -0.1829)
OKLCHoklch(50.13% 0.183 268.3)
XYZxyz(15.6721, 11.7881, 57.3150)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956CA #CAAD39
analogous
#399ECA #3956CA #6439CA
triadic
#3956CA #CA3956 #56CA39
tetradic
#3956CA #CA399E #CAAD39 #39CA64
square
#3956CA #CA399E #CAAD39 #39CA64
split-complementary
#3956CA #CA6439 #9ECA39
monochromatic
#1D2D6C #2A419C #3956CA #697FD7 #9AA8E4

Accessibility & contrast

On white

6.25
#3956CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3956CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956CA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956CA#FFFFFF#000000##FFFFFF
##3956CA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3956ca;
/* rgb */ color: rgb(57, 86, 202);
/* oklch */ color: oklch(50.1% 0.183 268.3);
Tailwind
colors: {
  custom: {
    50: '#8285db',
    500: '#3956ca',
    950: '#000000',
  },
}
SCSS
$custom: #3956ca;
$custom-light: #8285db;
$custom-dark: #000000;
JSON
{
  "hex": "#3956ca",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 228,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.18296,
    "h": 268.3
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#3956CA
secondary
#D0C38F
accent
#C247E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3956CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3956CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva