#3950B2#3950B2

#3950B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.158 H 269.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3950B2
RGBrgb(57, 80, 178)
HSLhsl(229, 51%, 46%)
HSVhsv(229, 68%, 70%)
CMYKcmyk(68%, 55.1%, 0%, 30.2%)
CIE-LABlab(37.52, 24.19, -54.85)
CIE-LCHlch(37.52, 59.95, 293.80°)
OKLaboklab(47.05% -0.0015 -0.1578)
OKLCHoklch(47.05% 0.158 269.5)
XYZxyz(12.5891, 9.8203, 43.3429)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3950B2 #B29B39
analogous
#398CB2 #3950B2 #5E39B2
triadic
#3950B2 #B23950 #50B239
tetradic
#3950B2 #B2398C #B29B39 #39B25E
square
#3950B2 #B2398C #B29B39 #39B25E
split-complementary
#3950B2 #B25E39 #8CB239
monochromatic
#1B2655 #2A3B84 #3950B2 #5D72CB #8B9ADA

Accessibility & contrast

On white

7.08
#3950B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3950B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3950B2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3950B2#FFFFFF#000000##FFFFFF
##3950B21.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3950b2;
/* rgb */ color: rgb(57, 80, 178);
/* oklch */ color: oklch(47.0% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#3950b2',
    950: '#000000',
  },
}
SCSS
$custom: #3950b2;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3950b2",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 228.595,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.15777,
    "h": 269.5
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#3950B2
secondary
#C4B882
accent
#C04DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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