#3947B8#3947B8

#3947B8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.177 H 272.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3947B8
RGBrgb(57, 71, 184)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(69%, 61.4%, 0%, 27.8%)
CIE-LABlab(35.67, 32.17, -61.40)
CIE-LCHlch(35.67, 69.32, 297.65°)
OKLaboklab(45.81% 0.0061 -0.1771)
OKLCHoklch(45.81% 0.177 272)
XYZxyz(12.5894, 8.8358, 46.3801)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947B8 #B8AA39
analogous
#3986B8 #3947B8 #6B39B8
triadic
#3947B8 #B83947 #47B839
tetradic
#3947B8 #B83986 #B8AA39 #39B86B
square
#3947B8 #B83986 #B8AA39 #39B86B
split-complementary
#3947B8 #B86B39 #86B839
monochromatic
#1C235B #2B3589 #3947B8 #606CCE #8F98DC

Accessibility & contrast

On white

7.59
#3947B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3947B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947B8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947B8#FFFFFF#000000##FFFFFF
##3947B81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3947b8;
/* rgb */ color: rgb(57, 71, 184);
/* oklch */ color: oklch(45.8% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#807ace',
    500: '#3947b8',
    950: '#000000',
  },
}
SCSS
$custom: #3947b8;
$custom-light: #807ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3947b8",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 233.386,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.17722,
    "h": 272
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#3947B8
secondary
#C7C086
accent
#CC4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3947B8

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

Preview Lab → · Contrast checker → · Palette generator →

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