#3945AC#3945AC

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

Color values

HEX#3945AC
RGBrgb(57, 69, 172)
HSLhsl(234, 50%, 45%)
HSVhsv(234, 67%, 67%)
CMYKcmyk(66.9%, 59.9%, 0%, 32.5%)
CIE-LABlab(34.20, 29.19, -56.68)
CIE-LCHlch(34.20, 63.76, 297.25°)
OKLaboklab(44.43% 0.0079 -0.1633)
OKLCHoklch(44.43% 0.163 272.8)
XYZxyz(11.2594, 8.1036, 39.9925)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AC #ACA039
analogous
#397FAC #3945AC #6639AC
triadic
#3945AC #AC3945 #45AC39
tetradic
#3945AC #AC397F #ACA039 #39AC66
square
#3945AC #AC397F #ACA039 #39AC66
split-complementary
#3945AC #AC6639 #7FAC39
monochromatic
#1B2050 #2A337E #3945AC #5A65C8 #8890D8

Accessibility & contrast

On white

8.01
#3945AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3945AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3945AC#FFFFFF#000000##FFFFFF
##3945AC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3945ac;
/* rgb */ color: rgb(57, 69, 172);
/* oklch */ color: oklch(44.4% 0.163 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d78c6',
    500: '#3945ac',
    950: '#000000',
  },
}
SCSS
$custom: #3945ac;
$custom-light: #7d78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3945ac",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 233.739,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.16347,
    "h": 272.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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