#3949B5#3949B5

#3949B5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.171 H 271.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3949B5
RGBrgb(57, 73, 181)
HSLhsl(232, 52%, 47%)
HSVhsv(232, 69%, 71%)
CMYKcmyk(68.5%, 59.7%, 0%, 29%)
CIE-LABlab(35.93, 29.82, -59.21)
CIE-LCHlch(35.93, 66.29, 296.73°)
OKLaboklab(45.93% 0.0045 -0.1707)
OKLCHoklch(45.93% 0.171 271.5)
XYZxyz(12.4076, 8.9700, 44.7846)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949B5 #B5A539
analogous
#3987B5 #3949B5 #6739B5
triadic
#3949B5 #B53949 #49B539
tetradic
#3949B5 #B53987 #B5A539 #39B567
square
#3949B5 #B53987 #B5A539 #39B567
split-complementary
#3949B5 #B56739 #87B539
monochromatic
#1C2358 #2A3686 #3949B5 #5F6DCD #8D97DB

Accessibility & contrast

On white

7.52
#3949B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3949B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3949B5#FFFFFF#000000##FFFFFF
##3949B51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3949b5;
/* rgb */ color: rgb(57, 73, 181);
/* oklch */ color: oklch(45.9% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f7bcc',
    500: '#3949b5',
    950: '#000000',
  },
}
SCSS
$custom: #3949b5;
$custom-light: #7f7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3949b5",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 232.258,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.17072,
    "h": 271.5
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#3949B5
secondary
#C6BD84
accent
#C94CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3949B5

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

Preview Lab → · Contrast checker → · Palette generator →

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