#3947B2#3947B2

#3947B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.169 H 272.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3947B2
RGBrgb(57, 71, 178)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(68%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.18, 30.04, -58.65)
CIE-LCHlch(35.18, 65.89, 297.12°)
OKLaboklab(45.31% 0.0062 -0.169)
OKLCHoklch(45.31% 0.169 272.1)
XYZxyz(11.9738, 8.5896, 43.1378)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B2 #B2A439
analogous
#3983B2 #3947B2 #6739B2
triadic
#3947B2 #B23947 #47B239
tetradic
#3947B2 #B23983 #B2A439 #39B267
square
#3947B2 #B23983 #B2A439 #39B267
split-complementary
#3947B2 #B26739 #83B239
monochromatic
#1B2255 #2A3584 #3947B2 #5D6ACB #8B95DA

Accessibility & contrast

On white

7.73
#3947B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3947B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B2#FFFFFF#000000##FFFFFF
##3947B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3947b2;
/* rgb */ color: rgb(57, 71, 178);
/* oklch */ color: oklch(45.3% 0.169 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e7aca',
    500: '#3947b2',
    950: '#000000',
  },
}
SCSS
$custom: #3947b2;
$custom-light: #7e7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b2",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 233.058,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.16914,
    "h": 272.1
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#3947B2
secondary
#C4BD82
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947B2

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

Preview Lab → · Contrast checker → · Palette generator →

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