#3939A8#3939A8

#3939A8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.173 H 275.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3939A8
RGBrgb(57, 57, 168)
HSLhsl(240, 49%, 44%)
HSVhsv(240, 66%, 66%)
CMYKcmyk(66.1%, 66.1%, 0%, 34.1%)
CIE-LABlab(30.93, 35.44, -59.62)
CIE-LCHlch(30.93, 69.36, 300.73°)
OKLaboklab(41.92% 0.0179 -0.172)
OKLCHoklch(41.92% 0.173 275.9)
XYZxyz(10.2160, 6.6224, 37.7781)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939A8 #A8A839
analogous
#3971A8 #3939A8 #7139A8
triadic
#3939A8 #A83939 #39A839
tetradic
#3939A8 #A83971 #A8A839 #39A871
square
#3939A8 #A83971 #A8A839 #39A871
split-complementary
#3939A8 #A87139 #71A839
monochromatic
#1A1A4D #29297A #3939A8 #5858C6 #8686D6

Accessibility & contrast

On white

9.03
#3939A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3939A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939A8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939A8#FFFFFF#000000##FFFFFF
##3939A81.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3939a8;
/* rgb */ color: rgb(57, 57, 168);
/* oklch */ color: oklch(41.9% 0.173 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d70c3',
    500: '#3939a8',
    950: '#000000',
  },
}
SCSS
$custom: #3939a8;
$custom-light: #7d70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3939a8",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.17292,
    "h": 275.9
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#3939A8
secondary
#C0C07D
accent
#D94FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3939A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva