#3943AA#3943AA

#3943AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.163 H 273.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3943AA
RGBrgb(57, 67, 170)
HSLhsl(235, 50%, 45%)
HSVhsv(235, 66%, 67%)
CMYKcmyk(66.5%, 60.6%, 0%, 33.3%)
CIE-LABlab(33.53, 29.78, -56.57)
CIE-LCHlch(33.53, 63.93, 297.76°)
OKLaboklab(43.88% 0.0096 -0.163)
OKLCHoklch(43.88% 0.163 273.4)
XYZxyz(10.9478, 7.7855, 38.9482)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943AA #AAA039
analogous
#397CAA #3943AA #6739AA
triadic
#3943AA #AA3943 #43AA39
tetradic
#3943AA #AA397C #AAA039 #39AA67
square
#3943AA #AA397C #AAA039 #39AA67
split-complementary
#3943AA #AA6739 #7CAA39
monochromatic
#1A1F4E #2A317C #3943AA #5963C7 #878ED7

Accessibility & contrast

On white

8.21
#3943AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3943AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943AA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943AA#FFFFFF#000000##FFFFFF
##3943AA1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3943aa;
/* rgb */ color: rgb(57, 67, 170);
/* oklch */ color: oklch(43.9% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d77c4',
    500: '#3943aa',
    950: '#000000',
  },
}
SCSS
$custom: #3943aa;
$custom-light: #7d77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3943aa",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 234.69,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.16326,
    "h": 273.4
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#3943AA
secondary
#C1BB7E
accent
#CD4ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3943AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3943AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva