#3945AB#3945AB

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

Color values

HEX#3945AB
RGBrgb(57, 69, 171)
HSLhsl(234, 50%, 45%)
HSVhsv(234, 67%, 67%)
CMYKcmyk(66.7%, 59.6%, 0%, 32.9%)
CIE-LABlab(34.12, 28.84, -56.22)
CIE-LCHlch(34.12, 63.18, 297.16°)
OKLaboklab(44.34% 0.0079 -0.1619)
OKLCHoklch(44.34% 0.162 272.8)
XYZxyz(11.1637, 8.0654, 39.4886)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AB #AB9F39
analogous
#397EAB #3945AB #6639AB
triadic
#3945AB #AB3945 #45AB39
tetradic
#3945AB #AB397E #AB9F39 #39AB66
square
#3945AB #AB397E #AB9F39 #39AB66
split-complementary
#3945AB #AB6639 #7EAB39
monochromatic
#1A204F #2A327D #3945AB #5965C8 #8790D7

Accessibility & contrast

On white

8.04
#3945AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3945AB#FFFFFF#000000##FFFFFF
##3945AB1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3945ab;
/* rgb */ color: rgb(57, 69, 171);
/* oklch */ color: oklch(44.3% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d78c5',
    500: '#3945ab',
    950: '#000000',
  },
}
SCSS
$custom: #3945ab;
$custom-light: #7d78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3945ab",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 233.684,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.16209,
    "h": 272.8
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3945AB

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

Preview Lab → · Contrast checker → · Palette generator →

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