#3945A0#3945A0

#3945A0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.147 H 273.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3945A0
RGBrgb(57, 69, 160)
HSLhsl(233, 47%, 43%)
HSVhsv(233, 64%, 63%)
CMYKcmyk(64.4%, 56.9%, 0%, 37.3%)
CIE-LABlab(33.27, 24.91, -50.99)
CIE-LCHlch(33.27, 56.75, 296.03°)
OKLaboklab(43.45% 0.0077 -0.1466)
OKLCHoklch(43.45% 0.147 273)
XYZxyz(10.1585, 7.6633, 34.1947)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945A0 #A09439
analogous
#3978A0 #3945A0 #6139A0
triadic
#3945A0 #A03945 #45A039
tetradic
#3945A0 #A03978 #A09439 #39A061
square
#3945A0 #A03978 #A09439 #39A061
split-complementary
#3945A0 #A06139 #78A039
monochromatic
#191E46 #293273 #3945A0 #5461C2 #818BD2

Accessibility & contrast

On white

8.29
#3945A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3945A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945A0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945A0#FFFFFF#000000##FFFFFF
##3945A01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3945a0;
/* rgb */ color: rgb(57, 69, 160);
/* oklch */ color: oklch(43.4% 0.147 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b78bd',
    500: '#3945a0',
    950: '#000000',
  },
}
SCSS
$custom: #3945a0;
$custom-light: #7b78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3945a0",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 233.01,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.14675,
    "h": 273
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#3945A0
secondary
#BCB479
accent
#C751D7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3945A0

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

Preview Lab → · Contrast checker → · Palette generator →

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