#3947A8#3947A8

#3947A8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.155 H 272.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3947A8
RGBrgb(57, 71, 168)
HSLhsl(232, 49%, 44%)
HSVhsv(232, 66%, 66%)
CMYKcmyk(66.1%, 57.7%, 0%, 34.1%)
CIE-LABlab(34.40, 26.46, -53.96)
CIE-LCHlch(34.40, 60.10, 296.12°)
OKLaboklab(44.48% 0.0061 -0.1553)
OKLCHoklch(44.48% 0.155 272.2)
XYZxyz(11.0061, 8.2025, 38.0414)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947A8 #A89A39
analogous
#397FA8 #3947A8 #6339A8
triadic
#3947A8 #A83947 #47A839
tetradic
#3947A8 #A8397F #A89A39 #39A863
square
#3947A8 #A8397F #A89A39 #39A863
split-complementary
#3947A8 #A86339 #7FA839
monochromatic
#1A204D #29347A #3947A8 #5866C6 #8690D6

Accessibility & contrast

On white

7.95
#3947A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3947A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947A8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947A8#FFFFFF#000000##FFFFFF
##3947A81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3947a8;
/* rgb */ color: rgb(57, 71, 168);
/* oklch */ color: oklch(44.5% 0.155 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ac3',
    500: '#3947a8',
    950: '#000000',
  },
}
SCSS
$custom: #3947a8;
$custom-light: #7c7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3947a8",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 232.432,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.15538,
    "h": 272.2
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#3947A8
secondary
#C0B77D
accent
#C74FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3947A8

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

Preview Lab → · Contrast checker → · Palette generator →

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