#3947B0#3947B0

#3947B0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.166 H 272.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3947B0
RGBrgb(57, 71, 176)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(67.6%, 59.7%, 0%, 31%)
CIE-LABlab(35.02, 29.32, -57.72)
CIE-LCHlch(35.02, 64.74, 296.93°)
OKLaboklab(45.14% 0.0062 -0.1663)
OKLCHoklch(45.14% 0.166 272.1)
XYZxyz(11.7744, 8.5098, 42.0879)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B0 #B0A239
analogous
#3982B0 #3947B0 #6639B0
triadic
#3947B0 #B03947 #47B039
tetradic
#3947B0 #B03982 #B0A239 #39B066
square
#3947B0 #B03982 #B0A239 #39B066
split-complementary
#3947B0 #B06639 #82B039
monochromatic
#1B2254 #2A3482 #3947B0 #5C69CA #8A94D9

Accessibility & contrast

On white

7.77
#3947B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3947B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B0#FFFFFF#000000##FFFFFF
##3947B01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3947b0;
/* rgb */ color: rgb(57, 71, 176);
/* oklch */ color: oklch(45.1% 0.166 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e7ac8',
    500: '#3947b0',
    950: '#000000',
  },
}
SCSS
$custom: #3947b0;
$custom-light: #7e7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b0",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 232.941,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.16641,
    "h": 272.1
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#3947B0
secondary
#C4BC81
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947B0

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

Preview Lab → · Contrast checker → · Palette generator →

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