#3949A8#3949A8

#3949A8 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.153 H 271.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3949A8
RGBrgb(57, 73, 168)
HSLhsl(231, 49%, 44%)
HSVhsv(231, 66%, 66%)
CMYKcmyk(66.1%, 56.5%, 0%, 34.1%)
CIE-LABlab(34.93, 25.15, -53.11)
CIE-LCHlch(34.93, 58.77, 295.34°)
OKLaboklab(44.87% 0.0043 -0.1527)
OKLCHoklch(44.87% 0.153 271.6)
XYZxyz(11.1354, 8.4611, 38.0845)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949A8 #A89839
analogous
#3981A8 #3949A8 #6139A8
triadic
#3949A8 #A83949 #49A839
tetradic
#3949A8 #A83981 #A89839 #39A861
square
#3949A8 #A83981 #A89839 #39A861
split-complementary
#3949A8 #A86139 #81A839
monochromatic
#1A214D #29357A #3949A8 #5868C6 #8691D6

Accessibility & contrast

On white

7.80
#3949A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3949A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3949A8#FFFFFF#000000##FFFFFF
##3949A81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3949a8;
/* rgb */ color: rgb(57, 73, 168);
/* oklch */ color: oklch(44.9% 0.153 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c7bc3',
    500: '#3949a8',
    950: '#000000',
  },
}
SCSS
$custom: #3949a8;
$custom-light: #7c7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3949a8",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 231.351,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.1528,
    "h": 271.6
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#3949A8
secondary
#C0B67D
accent
#C54FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3949A8

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

Preview Lab → · Contrast checker → · Palette generator →

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