#3945A7#3945A7

#3945A7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.157 H 272.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3945A7
RGBrgb(57, 69, 167)
HSLhsl(233, 49%, 44%)
HSVhsv(233, 66%, 65%)
CMYKcmyk(65.9%, 58.7%, 0%, 34.5%)
CIE-LABlab(33.81, 27.41, -54.33)
CIE-LCHlch(33.81, 60.85, 296.77°)
OKLaboklab(44.01% 0.0079 -0.1564)
OKLCHoklch(44.01% 0.157 272.9)
XYZxyz(10.7882, 7.9152, 37.5110)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945A7 #A79B39
analogous
#397CA7 #3945A7 #6439A7
triadic
#3945A7 #A73945 #45A739
tetradic
#3945A7 #A7397C #A79B39 #39A764
square
#3945A7 #A7397C #A79B39 #39A764
split-complementary
#3945A7 #A76439 #7CA739
monochromatic
#1A1F4C #293279 #3945A7 #5763C6 #858ED5

Accessibility & contrast

On white

8.13
#3945A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3945A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945A7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945A7#FFFFFF#000000##FFFFFF
##3945A71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3945a7;
/* rgb */ color: rgb(57, 69, 167);
/* oklch */ color: oklch(44.0% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c78c2',
    500: '#3945a7',
    950: '#000000',
  },
}
SCSS
$custom: #3945a7;
$custom-light: #7c78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3945a7",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 233.455,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.15657,
    "h": 272.9
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#3945A7
secondary
#BFB87D
accent
#CA4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3945A7

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

Preview Lab → · Contrast checker → · Palette generator →

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