#3945AF#3945AF

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

Color values

HEX#3945AF
RGBrgb(57, 69, 175)
HSLhsl(234, 51%, 45%)
HSVhsv(234, 67%, 69%)
CMYKcmyk(67.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.44, 30.26, -58.08)
CIE-LCHlch(34.44, 65.49, 297.52°)
OKLaboklab(44.68% 0.0078 -0.1674)
OKLCHoklch(44.68% 0.168 272.7)
XYZxyz(11.5507, 8.2202, 41.5271)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945AF #AFA339
analogous
#3980AF #3945AF #6839AF
triadic
#3945AF #AF3945 #45AF39
tetradic
#3945AF #AF3980 #AFA339 #39AF68
square
#3945AF #AF3980 #AFA339 #39AF68
split-complementary
#3945AF #AF6839 #80AF39
monochromatic
#1B2153 #2A3381 #3945AF #5B67CA #8A92D9

Accessibility & contrast

On white

7.94
#3945AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3945AF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945AF#FFFFFF#000000##FFFFFF
##3945AF1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3945af;
/* rgb */ color: rgb(57, 69, 175);
/* oklch */ color: oklch(44.7% 0.168 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e78c8',
    500: '#3945af',
    950: '#000000',
  },
}
SCSS
$custom: #3945af;
$custom-light: #7e78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3945af",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 233.898,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.16756,
    "h": 272.7
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#3945AF
secondary
#C3BC81
accent
#CC4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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