#3956B2#3956B2

#3956B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.150 H 267.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3956B2
RGBrgb(57, 86, 178)
HSLhsl(226, 51%, 46%)
HSVhsv(226, 68%, 70%)
CMYKcmyk(68%, 51.7%, 0%, 30.2%)
CIE-LABlab(39.14, 20.28, -52.23)
CIE-LCHlch(39.14, 56.03, 291.22°)
OKLaboklab(48.27% -0.0069 -0.15)
OKLCHoklch(48.27% 0.15 267.4)
XYZxyz(13.0482, 10.7385, 43.4959)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956B2 #B29539
analogous
#3992B2 #3956B2 #5839B2
triadic
#3956B2 #B23956 #56B239
tetradic
#3956B2 #B23992 #B29539 #39B258
square
#3956B2 #B23992 #B29539 #39B258
split-complementary
#3956B2 #B25839 #92B239
monochromatic
#1B2955 #2A4084 #3956B2 #5D77CB #8B9EDA

Accessibility & contrast

On white

6.67
#3956B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3956B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956B2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956B2#FFFFFF#000000##FFFFFF
##3956B21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3956b2;
/* rgb */ color: rgb(57, 86, 178);
/* oklch */ color: oklch(48.3% 0.150 267.4);
Tailwind
colors: {
  custom: {
    50: '#7d85ca',
    500: '#3956b2',
    950: '#000000',
  },
}
SCSS
$custom: #3956b2;
$custom-light: #7d85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3956b2",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 225.62,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.15013,
    "h": 267.4
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#3956B2
secondary
#C4B582
accent
#B94DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3956B2

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

Preview Lab → · Contrast checker → · Palette generator →

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