#3948AC#3948AC

#3948AC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.160 H 271.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3948AC
RGBrgb(57, 72, 172)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(66.9%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.97, 27.24, -55.43)
CIE-LCHlch(34.97, 61.76, 296.17°)
OKLaboklab(45% 0.0053 -0.1596)
OKLCHoklch(45% 0.16 271.9)
XYZxyz(11.4486, 8.4821, 40.0556)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948AC #AC9D39
analogous
#3981AC #3948AC #6439AC
triadic
#3948AC #AC3948 #48AC39
tetradic
#3948AC #AC3981 #AC9D39 #39AC64
square
#3948AC #AC3981 #AC9D39 #39AC64
split-complementary
#3948AC #AC6439 #81AC39
monochromatic
#1B2250 #2A357E #3948AC #5A68C8 #8892D8

Accessibility & contrast

On white

7.79
#3948AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3948AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3948AC#FFFFFF#000000##FFFFFF
##3948AC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3948ac;
/* rgb */ color: rgb(57, 72, 172);
/* oklch */ color: oklch(45.0% 0.160 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d7ac5',
    500: '#3948ac',
    950: '#000000',
  },
}
SCSS
$custom: #3948ac;
$custom-light: #7d7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3948ac",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 232.174,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44998,
    "c": 0.15966,
    "h": 271.9
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3948AC

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

Preview Lab → · Contrast checker → · Palette generator →

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