#3945A3#3945A3

#3945A3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.151 H 273.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3945A3
RGBrgb(57, 69, 163)
HSLhsl(233, 48%, 43%)
HSVhsv(233, 65%, 64%)
CMYKcmyk(65%, 57.7%, 0%, 36.1%)
CIE-LABlab(33.50, 25.98, -52.43)
CIE-LCHlch(33.50, 58.52, 296.36°)
OKLaboklab(43.69% 0.0078 -0.1508)
OKLCHoklch(43.69% 0.151 273)
XYZxyz(10.4241, 7.7695, 35.5936)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945A3 #A39739
analogous
#397AA3 #3945A3 #6239A3
triadic
#3945A3 #A33945 #45A339
tetradic
#3945A3 #A3397A #A39739 #39A362
square
#3945A3 #A3397A #A39739 #39A362
split-complementary
#3945A3 #A36239 #7AA339
monochromatic
#191F48 #293276 #3945A3 #5562C4 #838CD4

Accessibility & contrast

On white

8.22
#3945A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3945A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3945A3#FFFFFF#000000##FFFFFF
##3945A31.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3945a3;
/* rgb */ color: rgb(57, 69, 163);
/* oklch */ color: oklch(43.7% 0.151 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b78bf',
    500: '#3945a3',
    950: '#000000',
  },
}
SCSS
$custom: #3945a3;
$custom-light: #7b78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3945a3",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 233.208,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.15098,
    "h": 273
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#3945A3
secondary
#BDB67A
accent
#C850D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3945A3

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

Preview Lab → · Contrast checker → · Palette generator →

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