#3956C9#3956C9

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

Color values

HEX#3956C9
RGBrgb(57, 86, 201)
HSLhsl(228, 57%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(71.6%, 57.2%, 0%, 21.2%)
CIE-LABlab(40.80, 28.66, -62.97)
CIE-LCHlch(40.80, 69.18, 294.47°)
OKLaboklab(50.05% -0.0054 -0.1815)
OKLCHoklch(50.05% 0.182 268.3)
XYZxyz(15.5541, 11.7409, 56.6935)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956C9 #C9AC39
analogous
#399EC9 #3956C9 #6439C9
triadic
#3956C9 #C93956 #56C939
tetradic
#3956C9 #C9399E #C9AC39 #39C964
square
#3956C9 #C9399E #C9AC39 #39C964
split-complementary
#3956C9 #C96439 #9EC939
monochromatic
#1D2D6B #2A419B #3956C9 #697FD6 #99A8E3

Accessibility & contrast

On white

6.27
#3956C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3956C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956C9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956C9#FFFFFF#000000##FFFFFF
##3956C91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3956c9;
/* rgb */ color: rgb(57, 86, 201);
/* oklch */ color: oklch(50.1% 0.182 268.3);
Tailwind
colors: {
  custom: {
    50: '#8285da',
    500: '#3956c9',
    950: '#000000',
  },
}
SCSS
$custom: #3956c9;
$custom-light: #8285da;
$custom-dark: #000000;
JSON
{
  "hex": "#3956c9",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 201
  },
  "hsl": {
    "h": 227.917,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.18162,
    "h": 268.3
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#3956C9
secondary
#CFC28F
accent
#C247E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3956C9

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

Preview Lab → · Contrast checker → · Palette generator →

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