#3948A0#3948A0

#3948A0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.143 H 272.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3948A0
RGBrgb(57, 72, 160)
HSLhsl(231, 47%, 43%)
HSVhsv(231, 64%, 63%)
CMYKcmyk(64.4%, 55%, 0%, 37.3%)
CIE-LABlab(34.07, 22.93, -49.70)
CIE-LCHlch(34.07, 54.74, 294.77°)
OKLaboklab(44.04% 0.0049 -0.1427)
OKLCHoklch(44.04% 0.143 272)
XYZxyz(10.3477, 8.0418, 34.2578)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948A0 #A09139
analogous
#397CA0 #3948A0 #5D39A0
triadic
#3948A0 #A03948 #48A039
tetradic
#3948A0 #A0397C #A09139 #39A05D
square
#3948A0 #A0397C #A09139 #39A05D
split-complementary
#3948A0 #A05D39 #7CA039
monochromatic
#191F46 #293473 #3948A0 #5464C2 #818DD2

Accessibility & contrast

On white

8.05
#3948A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3948A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3948A0#FFFFFF#000000##FFFFFF
##3948A01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0855A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3948a0;
/* rgb */ color: rgb(57, 72, 160);
/* oklch */ color: oklch(44.0% 0.143 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b7abd',
    500: '#3948a0',
    950: '#000000',
  },
}
SCSS
$custom: #3948a0;
$custom-light: #7b7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#3948a0",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 231.262,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.14279,
    "h": 272
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#3948A0
secondary
#BCB279
accent
#C451D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3948A0

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

Preview Lab → · Contrast checker → · Palette generator →

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