#3945AE#3945AE

#3945AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.166 H 272.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3945AE
RGBrgb(57, 69, 174)
HSLhsl(234, 51%, 45%)
HSVhsv(234, 67%, 68%)
CMYKcmyk(67.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.36, 29.91, -57.61)
CIE-LCHlch(34.36, 64.91, 297.43°)
OKLaboklab(44.59% 0.0079 -0.166)
OKLCHoklch(44.59% 0.166 272.7)
XYZxyz(11.4529, 8.1810, 41.0117)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AE #AEA239
analogous
#397FAE #3945AE #6739AE
triadic
#3945AE #AE3945 #45AE39
tetradic
#3945AE #AE397F #AEA239 #39AE67
square
#3945AE #AE397F #AEA239 #39AE67
split-complementary
#3945AE #AE6739 #7FAE39
monochromatic
#1B2052 #2A3380 #3945AE #5B66C9 #8991D8

Accessibility & contrast

On white

7.97
#3945AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3945AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3945AE#FFFFFF#000000##FFFFFF
##3945AE1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3945ae;
/* rgb */ color: rgb(57, 69, 174);
/* oklch */ color: oklch(44.6% 0.166 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e78c7',
    500: '#3945ae',
    950: '#000000',
  },
}
SCSS
$custom: #3945ae;
$custom-light: #7e78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3945ae",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 233.846,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.16621,
    "h": 272.7
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#3945AE
secondary
#C3BC80
accent
#CC4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945AE

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

Preview Lab → · Contrast checker → · Palette generator →

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