#3950CD#3950CD

#3950CD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.194 H 269.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3950CD
RGBrgb(57, 80, 205)
HSLhsl(231, 60%, 51%)
HSVhsv(231, 72%, 80%)
CMYKcmyk(72.2%, 61%, 0%, 19.6%)
CIE-LABlab(39.60, 33.92, -67.23)
CIE-LCHlch(39.60, 75.31, 296.77°)
OKLaboklab(49.26% -0.001 -0.1941)
OKLCHoklch(49.26% 0.194 269.7)
XYZxyz(15.5717, 11.0133, 59.0509)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950CD #CDB639
analogous
#399ACD #3950CD #6C39CD
triadic
#3950CD #CD3950 #50CD39
tetradic
#3950CD #CD399A #CDB639 #39CD6C
square
#3950CD #CD399A #CDB639 #39CD6C
split-complementary
#3950CD #CD6C39 #9ACD39
monochromatic
#1C296F #283BA0 #3950CD #6A7BD9 #9BA6E6

Accessibility & contrast

On white

6.56
#3950CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3950CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950CD#FFFFFF#000000##FFFFFF
##3950CD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3950cd;
/* rgb */ color: rgb(57, 80, 205);
/* oklch */ color: oklch(49.3% 0.194 269.7);
Tailwind
colors: {
  custom: {
    50: '#8381dd',
    500: '#3950cd',
    950: '#000000',
  },
}
SCSS
$custom: #3950cd;
$custom-light: #8381dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3950cd",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 230.676,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.19414,
    "h": 269.7
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#3950CD
secondary
#D2C790
accent
#CA45E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3950CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3950CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva