#3949AC#3949AC

#3949AC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.158 H 271.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3949AC
RGBrgb(57, 73, 172)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(66.9%, 57.6%, 0%, 32.5%)
CIE-LABlab(35.23, 26.59, -55.01)
CIE-LCHlch(35.23, 61.10, 295.80°)
OKLaboklab(45.19% 0.0044 -0.1583)
OKLCHoklch(45.19% 0.158 271.6)
XYZxyz(11.5138, 8.6125, 40.0773)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949AC #AC9C39
analogous
#3983AC #3949AC #6239AC
triadic
#3949AC #AC3949 #49AC39
tetradic
#3949AC #AC3983 #AC9C39 #39AC62
square
#3949AC #AC3983 #AC9C39 #39AC62
split-complementary
#3949AC #AC6239 #83AC39
monochromatic
#1B2250 #2A357E #3949AC #5A69C8 #8893D8

Accessibility & contrast

On white

7.71
#3949AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3949AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3949AC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3949AC#FFFFFF#000000##FFFFFF
##3949AC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3949ac;
/* rgb */ color: rgb(57, 73, 172);
/* oklch */ color: oklch(45.2% 0.158 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d7bc5',
    500: '#3949ac',
    950: '#000000',
  },
}
SCSS
$custom: #3949ac;
$custom-light: #7d7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3949ac",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 231.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.15837,
    "h": 271.6
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#3949AC
secondary
#C2B87F
accent
#C64EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3949AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3949AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva