#3948AA#3948AA

#3948AA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.157 H 271.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3948AA
RGBrgb(57, 72, 170)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 66%, 67%)
CMYKcmyk(66.5%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.81, 26.53, -54.49)
CIE-LCHlch(34.81, 60.60, 295.96°)
OKLaboklab(44.84% 0.0053 -0.1568)
OKLCHoklch(44.84% 0.157 271.9)
XYZxyz(11.2580, 8.4058, 39.0516)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948AA #AA9B39
analogous
#3981AA #3948AA #6239AA
triadic
#3948AA #AA3948 #48AA39
tetradic
#3948AA #AA3981 #AA9B39 #39AA62
square
#3948AA #AA3981 #AA9B39 #39AA62
split-complementary
#3948AA #AA6239 #81AA39
monochromatic
#1A214E #2A357C #3948AA #5968C7 #8791D7

Accessibility & contrast

On white

7.83
#3948AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3948AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3948AA#FFFFFF#000000##FFFFFF
##3948AA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3948aa;
/* rgb */ color: rgb(57, 72, 170);
/* oklch */ color: oklch(44.8% 0.157 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d7ac4',
    500: '#3948aa',
    950: '#000000',
  },
}
SCSS
$custom: #3948aa;
$custom-light: #7d7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3948aa",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 232.035,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.15688,
    "h": 271.9
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#3948AA
secondary
#C1B87E
accent
#C74ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3948AA

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

Preview Lab → · Contrast checker → · Palette generator →

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