#3945A5#3945A5

#3945A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.154 H 272.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3945A5
RGBrgb(57, 69, 165)
HSLhsl(233, 49%, 44%)
HSVhsv(233, 65%, 65%)
CMYKcmyk(65.5%, 58.2%, 0%, 35.3%)
CIE-LABlab(33.65, 26.69, -53.38)
CIE-LCHlch(33.65, 59.69, 296.57°)
OKLaboklab(43.85% 0.0079 -0.1536)
OKLCHoklch(43.85% 0.154 272.9)
XYZxyz(10.6047, 7.8418, 36.5448)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945A5 #A59939
analogous
#397BA5 #3945A5 #6339A5
triadic
#3945A5 #A53945 #45A539
tetradic
#3945A5 #A5397B #A59939 #39A563
square
#3945A5 #A5397B #A59939 #39A563
split-complementary
#3945A5 #A56339 #7BA539
monochromatic
#1A1F4A #293278 #3945A5 #5663C5 #848DD4

Accessibility & contrast

On white

8.18
#3945A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3945A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3945A5#FFFFFF#000000##FFFFFF
##3945A51.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3945a5;
/* rgb */ color: rgb(57, 69, 165);
/* oklch */ color: oklch(43.8% 0.154 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c78c0',
    500: '#3945a5',
    950: '#000000',
  },
}
SCSS
$custom: #3945a5;
$custom-light: #7c78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3945a5",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 233.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.15378,
    "h": 272.9
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#3945A5
secondary
#BEB77B
accent
#C950D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3945A5

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

Preview Lab → · Contrast checker → · Palette generator →

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