#3947AF#3947AF

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

Color values

HEX#3947AF
RGBrgb(57, 71, 175)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 67%, 69%)
CMYKcmyk(67.4%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.94, 28.97, -57.25)
CIE-LCHlch(34.94, 64.16, 296.84°)
OKLaboklab(45.05% 0.0062 -0.1649)
OKLCHoklch(45.05% 0.165 272.1)
XYZxyz(11.6758, 8.4704, 41.5688)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947AF #AFA139
analogous
#3982AF #3947AF #6639AF
triadic
#3947AF #AF3947 #47AF39
tetradic
#3947AF #AF3982 #AFA139 #39AF66
square
#3947AF #AF3982 #AFA139 #39AF66
split-complementary
#3947AF #AF6639 #82AF39
monochromatic
#1B2253 #2A3481 #3947AF #5B69CA #8A93D9

Accessibility & contrast

On white

7.79
#3947AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3947AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947AF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947AF#FFFFFF#000000##FFFFFF
##3947AF1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3947af;
/* rgb */ color: rgb(57, 71, 175);
/* oklch */ color: oklch(45.1% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e7ac8',
    500: '#3947af',
    950: '#000000',
  },
}
SCSS
$custom: #3947af;
$custom-light: #7e7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3947af",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 232.881,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.16506,
    "h": 272.1
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#3947AF
secondary
#C3BB81
accent
#CA4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3947AF

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

Preview Lab → · Contrast checker → · Palette generator →

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