#3950B9#3950B9

#3950B9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.167 H 269.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3950B9
RGBrgb(57, 80, 185)
HSLhsl(229, 53%, 47%)
HSVhsv(229, 69%, 73%)
CMYKcmyk(69.2%, 56.8%, 0%, 27.5%)
CIE-LABlab(38.04, 26.73, -58.13)
CIE-LCHlch(38.04, 63.98, 294.69°)
OKLaboklab(47.6% -0.0012 -0.1674)
OKLCHoklch(47.6% 0.167 269.6)
XYZxyz(13.3100, 10.1087, 47.1393)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B9 #B9A239
analogous
#3990B9 #3950B9 #6239B9
triadic
#3950B9 #B93950 #50B939
tetradic
#3950B9 #B93990 #B9A239 #39B962
square
#3950B9 #B93990 #B9A239 #39B962
split-complementary
#3950B9 #B96239 #90B939
monochromatic
#1C285B #2B3C8A #3950B9 #6175CE #909EDD

Accessibility & contrast

On white

6.95
#3950B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3950B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950B9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B9#FFFFFF#000000##FFFFFF
##3950B91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3950b9;
/* rgb */ color: rgb(57, 80, 185);
/* oklch */ color: oklch(47.6% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f80cf',
    500: '#3950b9',
    950: '#000000',
  },
}
SCSS
$custom: #3950b9;
$custom-light: #7f80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b9",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 229.219,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.16741,
    "h": 269.6
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#3950B9
secondary
#C8BC86
accent
#C24BDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3950B9

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

Preview Lab → · Contrast checker → · Palette generator →

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