#3949AA#3949AA

#3949AA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.156 H 271.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3949AA
RGBrgb(57, 73, 170)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 66%, 67%)
CMYKcmyk(66.5%, 57.1%, 0%, 33.3%)
CIE-LABlab(35.08, 25.87, -54.06)
CIE-LCHlch(35.08, 59.94, 295.57°)
OKLaboklab(45.03% 0.0044 -0.1555)
OKLCHoklch(45.03% 0.156 271.6)
XYZxyz(11.3231, 8.5362, 39.0733)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949AA #AA9A39
analogous
#3982AA #3949AA #6139AA
triadic
#3949AA #AA3949 #49AA39
tetradic
#3949AA #AA3982 #AA9A39 #39AA61
square
#3949AA #AA3982 #AA9A39 #39AA61
split-complementary
#3949AA #AA6139 #82AA39
monochromatic
#1A224E #2A357C #3949AA #5969C7 #8792D7

Accessibility & contrast

On white

7.76
#3949AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3949AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3949AA#FFFFFF#000000##FFFFFF
##3949AA1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3949aa;
/* rgb */ color: rgb(57, 73, 170);
/* oklch */ color: oklch(45.0% 0.156 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c7bc4',
    500: '#3949aa',
    950: '#000000',
  },
}
SCSS
$custom: #3949aa;
$custom-light: #7c7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3949aa",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 231.504,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.15559,
    "h": 271.6
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#3949AA
secondary
#C1B77E
accent
#C64ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3949AA

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

Preview Lab → · Contrast checker → · Palette generator →

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