#3941AF#3941AF

#3941AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.173 H 273.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3941AF
RGBrgb(57, 65, 175)
HSLhsl(236, 51%, 45%)
HSVhsv(236, 67%, 69%)
CMYKcmyk(67.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.45, 32.83, -59.70)
CIE-LCHlch(33.45, 68.13, 298.80°)
OKLaboklab(43.95% 0.0111 -0.1722)
OKLCHoklch(43.95% 0.173 273.7)
XYZxyz(11.3129, 7.7446, 41.4478)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941AF #AFA739
analogous
#397CAF #3941AF #6C39AF
triadic
#3941AF #AF3941 #41AF39
tetradic
#3941AF #AF397C #AFA739 #39AF6C
square
#3941AF #AF397C #AFA739 #39AF6C
split-complementary
#3941AF #AF6C39 #7CAF39
monochromatic
#1B1F53 #2A3081 #3941AF #5B63CA #8A8FD9

Accessibility & contrast

On white

8.24
#3941AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3941AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941AF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941AF#FFFFFF#000000##FFFFFF
##3941AF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3941af;
/* rgb */ color: rgb(57, 65, 175);
/* oklch */ color: oklch(43.9% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e75c8',
    500: '#3941af',
    950: '#000000',
  },
}
SCSS
$custom: #3941af;
$custom-light: #7e75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3941af",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 235.932,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.17253,
    "h": 273.7
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#3941AF
secondary
#C3BF81
accent
#D14DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941AF

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

Preview Lab → · Contrast checker → · Palette generator →

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