#3948AE#3948AE

#3948AE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.162 H 271.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3948AE
RGBrgb(57, 72, 174)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 67%, 68%)
CMYKcmyk(67.2%, 58.6%, 0%, 31.8%)
CIE-LABlab(35.12, 27.96, -56.37)
CIE-LCHlch(35.12, 62.92, 296.38°)
OKLaboklab(45.16% 0.0053 -0.1623)
OKLCHoklch(45.16% 0.162 271.9)
XYZxyz(11.6421, 8.5595, 41.0748)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948AE #AE9F39
analogous
#3982AE #3948AE #6539AE
triadic
#3948AE #AE3948 #48AE39
tetradic
#3948AE #AE3982 #AE9F39 #39AE65
square
#3948AE #AE3982 #AE9F39 #39AE65
split-complementary
#3948AE #AE6539 #82AE39
monochromatic
#1B2252 #2A3580 #3948AE #5B69C9 #8993D8

Accessibility & contrast

On white

7.74
#3948AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3948AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948AE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948AE#FFFFFF#000000##FFFFFF
##3948AE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3948ae;
/* rgb */ color: rgb(57, 72, 174);
/* oklch */ color: oklch(45.2% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d7ac7',
    500: '#3948ae',
    950: '#000000',
  },
}
SCSS
$custom: #3948ae;
$custom-light: #7d7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3948ae",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 232.308,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.16242,
    "h": 271.9
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#3948AE
secondary
#C3BA80
accent
#C84EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3948AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3948AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva