#39319E#39319E

#39319E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.169 H 278.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#39319E
RGBrgb(57, 49, 158)
HSLhsl(244, 53%, 41%)
HSVhsv(244, 69%, 62%)
CMYKcmyk(63.9%, 69%, 0%, 38%)
CIE-LABlab(28.21, 36.97, -58.04)
CIE-LCHlch(28.21, 68.82, 302.50°)
OKLaboklab(39.67% 0.0254 -0.1674)
OKLCHoklch(39.67% 0.169 278.6)
XYZxyz(8.9552, 5.5344, 32.9375)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39319E #969E31
analogous
#315F9E #39319E #6F319E
triadic
#39319E #9E3931 #319E39
tetradic
#39319E #9E315F #969E31 #319E6F
square
#39319E #9E315F #969E31 #319E6F
split-complementary
#39319E #9E6F31 #5F9E31
monochromatic
#171441 #28236F #39319E #5046C6 #7C75D4

Accessibility & contrast

On white

9.97
#39319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#39319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39319E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39319E#FFFFFF#000000##FFFFFF
##39319E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39319e;
/* rgb */ color: rgb(57, 49, 158);
/* oklch */ color: oklch(39.7% 0.169 278.6);
Tailwind
colors: {
  custom: {
    50: '#7c6abc',
    500: '#39319e',
    950: '#000000',
  },
}
SCSS
$custom: #39319e;
$custom-light: #7c6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#39319e",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 244.404,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.16929,
    "h": 278.6
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#39319E
secondary
#B7BC6E
accent
#DC4CD1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #39319E

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

Preview Lab → · Contrast checker → · Palette generator →

#39319E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva