#3950B8#3950B8

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

Color values

HEX#3950B8
RGBrgb(57, 80, 184)
HSLhsl(229, 53%, 47%)
HSVhsv(229, 69%, 72%)
CMYKcmyk(69%, 56.5%, 0%, 27.8%)
CIE-LABlab(37.96, 26.37, -57.67)
CIE-LCHlch(37.96, 63.41, 294.57°)
OKLaboklab(47.52% -0.0012 -0.166)
OKLCHoklch(47.52% 0.166 269.6)
XYZxyz(13.2048, 10.0666, 46.5853)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B8 #B8A139
analogous
#398FB8 #3950B8 #6239B8
triadic
#3950B8 #B83950 #50B839
tetradic
#3950B8 #B8398F #B8A139 #39B862
square
#3950B8 #B8398F #B8A139 #39B862
split-complementary
#3950B8 #B86239 #8FB839
monochromatic
#1C275B #2B3C89 #3950B8 #6074CE #8F9DDC

Accessibility & contrast

On white

6.97
#3950B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3950B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3950B8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B8#FFFFFF#000000##FFFFFF
##3950B81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3950b8;
/* rgb */ color: rgb(57, 80, 184);
/* oklch */ color: oklch(47.5% 0.166 269.6);
Tailwind
colors: {
  custom: {
    50: '#7f80ce',
    500: '#3950b8',
    950: '#000000',
  },
}
SCSS
$custom: #3950b8;
$custom-light: #7f80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b8",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 229.134,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.16604,
    "h": 269.6
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#3950B8
secondary
#C7BB86
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3950B8

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

Preview Lab → · Contrast checker → · Palette generator →

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