#3945AD#3945AD

#3945AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.165 H 272.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3945AD
RGBrgb(57, 69, 173)
HSLhsl(234, 50%, 45%)
HSVhsv(234, 67%, 68%)
CMYKcmyk(67.1%, 60.1%, 0%, 32.2%)
CIE-LABlab(34.28, 29.55, -57.15)
CIE-LCHlch(34.28, 64.34, 297.34°)
OKLaboklab(44.51% 0.0079 -0.1646)
OKLCHoklch(44.51% 0.165 272.7)
XYZxyz(11.3558, 8.1422, 40.5002)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AD #ADA139
analogous
#397FAD #3945AD #6739AD
triadic
#3945AD #AD3945 #45AD39
tetradic
#3945AD #AD397F #ADA139 #39AD67
square
#3945AD #AD397F #ADA139 #39AD67
split-complementary
#3945AD #AD6739 #7FAD39
monochromatic
#1B2051 #2A337F #3945AD #5A66C9 #8891D8

Accessibility & contrast

On white

7.99
#3945AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3945AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945AD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945AD#FFFFFF#000000##FFFFFF
##3945AD1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3945ad;
/* rgb */ color: rgb(57, 69, 173);
/* oklch */ color: oklch(44.5% 0.165 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d78c6',
    500: '#3945ad',
    950: '#000000',
  },
}
SCSS
$custom: #3945ad;
$custom-light: #7d78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3945ad",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 233.793,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4451,
    "c": 0.16484,
    "h": 272.7
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#3945AD
secondary
#C2BB80
accent
#CB4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3945AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva