#3948A9#3948A9

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

Color values

HEX#3948A9
RGBrgb(57, 72, 169)
HSLhsl(232, 50%, 44%)
HSVhsv(232, 66%, 66%)
CMYKcmyk(66.3%, 57.4%, 0%, 33.7%)
CIE-LABlab(34.74, 26.17, -54.01)
CIE-LCHlch(34.74, 60.02, 295.85°)
OKLaboklab(44.76% 0.0052 -0.1554)
OKLCHoklch(44.76% 0.155 271.9)
XYZxyz(11.1637, 8.3682, 38.5553)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948A9 #A99A39
analogous
#3980A9 #3948A9 #6239A9
triadic
#3948A9 #A93948 #48A939
tetradic
#3948A9 #A93980 #A99A39 #39A962
square
#3948A9 #A93980 #A99A39 #39A962
split-complementary
#3948A9 #A96239 #80A939
monochromatic
#1A214D #2A357B #3948A9 #5867C7 #8691D6

Accessibility & contrast

On white

7.85
#3948A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3948A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3948A9#FFFFFF#000000##FFFFFF
##3948A91.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3948a9;
/* rgb */ color: rgb(57, 72, 169);
/* oklch */ color: oklch(44.8% 0.155 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ac3',
    500: '#3948a9',
    950: '#000000',
  },
}
SCSS
$custom: #3948a9;
$custom-light: #7c7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3948a9",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 231.964,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.15549,
    "h": 271.9
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#3948A9
secondary
#C0B77E
accent
#C74FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3948A9

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

Preview Lab → · Contrast checker → · Palette generator →

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