#39409C#39409C

#39409C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.148 H 274.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#39409C
RGBrgb(57, 64, 156)
HSLhsl(236, 46%, 42%)
HSVhsv(236, 63%, 61%)
CMYKcmyk(63.5%, 59%, 0%, 38.8%)
CIE-LABlab(31.66, 26.76, -51.19)
CIE-LCHlch(31.66, 57.76, 297.60°)
OKLaboklab(42.15% 0.0124 -0.1472)
OKLCHoklch(42.15% 0.148 274.8)
XYZxyz(9.5195, 6.9362, 32.2832)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39409C #9C9539
analogous
#39729C #39409C #64399C
triadic
#39409C #9C3940 #409C39
tetradic
#39409C #9C3972 #9C9539 #399C64
square
#39409C #9C3972 #9C9539 #399C64
split-complementary
#39409C #9C6439 #729C39
monochromatic
#181B42 #292E6F #39409C #525AC0 #7F85D0

Accessibility & contrast

On white

8.80
#39409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#39409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39409C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39409C#FFFFFF#000000##FFFFFF
##39409C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #39409c;
/* rgb */ color: rgb(57, 64, 156);
/* oklch */ color: oklch(42.1% 0.148 274.8);
Tailwind
colors: {
  custom: {
    50: '#7a74ba',
    500: '#39409c',
    950: '#000000',
  },
}
SCSS
$custom: #39409c;
$custom-light: #7a74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39409c",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 235.758,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.1477,
    "h": 274.8
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#39409C
secondary
#BAB577
accent
#CD52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #39409C

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

Preview Lab → · Contrast checker → · Palette generator →

#39409C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva