#3951BC#3951BC

#3951BC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.170 H 269.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3951BC
RGBrgb(57, 81, 188)
HSLhsl(229, 53%, 48%)
HSVhsv(229, 70%, 74%)
CMYKcmyk(69.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.52, 27.17, -59.10)
CIE-LCHlch(38.52, 65.05, 294.69°)
OKLaboklab(48.04% -0.0019 -0.1703)
OKLCHoklch(48.04% 0.17 269.4)
XYZxyz(13.7038, 10.3842, 48.8494)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951BC #BCA439
analogous
#3992BC #3951BC #6339BC
triadic
#3951BC #BC3951 #51BC39
tetradic
#3951BC #BC3992 #BCA439 #39BC63
square
#3951BC #BC3992 #BCA439 #39BC63
split-complementary
#3951BC #BC6339 #92BC39
monochromatic
#1D295E #2B3D8D #3951BC #6377D0 #92A0DE

Accessibility & contrast

On white

6.82
#3951BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3951BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951BC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951BC#FFFFFF#000000##FFFFFF
##3951BC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3951bc;
/* rgb */ color: rgb(57, 81, 188);
/* oklch */ color: oklch(48.0% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#8081d1',
    500: '#3951bc',
    950: '#000000',
  },
}
SCSS
$custom: #3951bc;
$custom-light: #8081d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3951bc",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 229.008,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.17026,
    "h": 269.4
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#3951BC
secondary
#C9BD88
accent
#C24BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3951BC

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

Preview Lab → · Contrast checker → · Palette generator →

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