#3945AA#3945AA

#3945AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.161 H 272.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3945AA
RGBrgb(57, 69, 170)
HSLhsl(234, 50%, 45%)
HSVhsv(234, 66%, 67%)
CMYKcmyk(66.5%, 59.4%, 0%, 33.3%)
CIE-LABlab(34.04, 28.48, -55.75)
CIE-LCHlch(34.04, 62.60, 297.06°)
OKLaboklab(44.26% 0.0079 -0.1605)
OKLCHoklch(44.26% 0.161 272.8)
XYZxyz(11.0687, 8.0274, 38.9885)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AA #AA9E39
analogous
#397EAA #3945AA #6539AA
triadic
#3945AA #AA3945 #45AA39
tetradic
#3945AA #AA397E #AA9E39 #39AA65
square
#3945AA #AA397E #AA9E39 #39AA65
split-complementary
#3945AA #AA6539 #7EAA39
monochromatic
#1A204E #2A327C #3945AA #5965C7 #878FD7

Accessibility & contrast

On white

8.06
#3945AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3945AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3945AA#FFFFFF#000000##FFFFFF
##3945AA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3945aa;
/* rgb */ color: rgb(57, 69, 170);
/* oklch */ color: oklch(44.3% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d78c4',
    500: '#3945aa',
    950: '#000000',
  },
}
SCSS
$custom: #3945aa;
$custom-light: #7d78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3945aa",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 233.628,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.16072,
    "h": 272.8
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#3945AA
secondary
#C1BA7E
accent
#CB4ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945AA

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

Preview Lab → · Contrast checker → · Palette generator →

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