#3949CA#3949CA

#3949CA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.198 H 271.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3949CA
RGBrgb(57, 73, 202)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 72%, 79%)
CMYKcmyk(71.8%, 63.9%, 0%, 20.8%)
CIE-LABlab(37.66, 37.27, -68.67)
CIE-LCHlch(37.66, 78.13, 298.49°)
OKLaboklab(47.75% 0.0039 -0.1984)
OKLCHoklch(47.75% 0.198 271.1)
XYZxyz(14.7269, 9.8977, 57.0000)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3949CA #CABA39
analogous
#3992CA #3949CA #7139CA
triadic
#3949CA #CA3949 #49CA39
tetradic
#3949CA #CA3992 #CABA39 #39CA71
square
#3949CA #CA3992 #CABA39 #39CA71
split-complementary
#3949CA #CA7139 #92CA39
monochromatic
#1D266C #2A369C #3949CA #6975D7 #9AA2E4

Accessibility & contrast

On white

7.05
#3949CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3949CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3949CA#FFFFFF#000000##FFFFFF
##3949CA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3949ca;
/* rgb */ color: rgb(57, 73, 202);
/* oklch */ color: oklch(47.7% 0.198 271.1);
Tailwind
colors: {
  custom: {
    50: '#837cdb',
    500: '#3949ca',
    950: '#000000',
  },
}
SCSS
$custom: #3949ca;
$custom-light: #837cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3949ca",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 233.379,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.19847,
    "h": 271.1
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#3949CA
secondary
#D0C88F
accent
#D047E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3949CA

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

Preview Lab → · Contrast checker → · Palette generator →

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