#3941AC#3941AC

#3941AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.168 H 273.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3941AC
RGBrgb(57, 65, 172)
HSLhsl(236, 50%, 45%)
HSVhsv(236, 67%, 67%)
CMYKcmyk(66.9%, 62.2%, 0%, 32.5%)
CIE-LABlab(33.20, 31.77, -58.32)
CIE-LCHlch(33.20, 66.41, 298.58°)
OKLaboklab(43.69% 0.0112 -0.1681)
OKLCHoklch(43.69% 0.168 273.8)
XYZxyz(11.0216, 7.6280, 39.9133)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941AC #ACA439
analogous
#397BAC #3941AC #6A39AC
triadic
#3941AC #AC3941 #41AC39
tetradic
#3941AC #AC397B #ACA439 #39AC6A
square
#3941AC #AC397B #ACA439 #39AC6A
split-complementary
#3941AC #AC6A39 #7BAC39
monochromatic
#1B1E50 #2A307E #3941AC #5A62C8 #888DD8

Accessibility & contrast

On white

8.31
#3941AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3941AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941AC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941AC#FFFFFF#000000##FFFFFF
##3941AC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3941ac;
/* rgb */ color: rgb(57, 65, 172);
/* oklch */ color: oklch(43.7% 0.168 273.8);
Tailwind
colors: {
  custom: {
    50: '#7d75c6',
    500: '#3941ac',
    950: '#000000',
  },
}
SCSS
$custom: #3941ac;
$custom-light: #7d75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3941ac",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 235.826,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.16848,
    "h": 273.8
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#3941AC
secondary
#C2BD7F
accent
#D04EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941AC

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

Preview Lab → · Contrast checker → · Palette generator →

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