#3951CC#3951CC

#3951CC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.192 H 269.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3951CC
RGBrgb(57, 81, 204)
HSLhsl(230, 59%, 51%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(72.1%, 60.3%, 0%, 20%)
CIE-LABlab(39.77, 32.93, -66.38)
CIE-LCHlch(39.77, 74.10, 296.39°)
OKLaboklab(49.36% -0.0017 -0.1916)
OKLCHoklch(49.36% 0.192 269.5)
XYZxyz(15.5251, 11.1127, 58.4418)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951CC #CCB439
analogous
#399ACC #3951CC #6A39CC
triadic
#3951CC #CC3951 #51CC39
tetradic
#3951CC #CC399A #CCB439 #39CC6A
square
#3951CC #CC399A #CCB439 #39CC6A
split-complementary
#3951CC #CC6A39 #9ACC39
monochromatic
#1C2A6E #293C9F #3951CC #6A7CD9 #9AA7E5

Accessibility & contrast

On white

6.52
#3951CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3951CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951CC#FFFFFF#000000##FFFFFF
##3951CC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3951cc;
/* rgb */ color: rgb(57, 81, 204);
/* oklch */ color: oklch(49.4% 0.192 269.5);
Tailwind
colors: {
  custom: {
    50: '#8381dc',
    500: '#3951cc',
    950: '#000000',
  },
}
SCSS
$custom: #3951cc;
$custom-light: #8381dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3951cc",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 230.204,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.19164,
    "h": 269.5
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#3951CC
secondary
#D1C690
accent
#C946E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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