#39317C#39317C

#39317C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.123 H 283.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#39317C
RGBrgb(57, 49, 124)
HSLhsl(246, 43%, 34%)
HSVhsv(246, 60%, 49%)
CMYKcmyk(54%, 60.5%, 0%, 51.4%)
CIE-LABlab(25.33, 25.53, -41.67)
CIE-LCHlch(25.33, 48.87, 301.49°)
OKLaboklab(36.68% 0.0284 -0.1193)
OKLCHoklch(36.68% 0.123 283.4)
XYZxyz(6.4226, 4.5214, 19.5992)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39317C #747C31
analogous
#314F7C #39317C #5F317C
triadic
#39317C #7C3931 #317C39
tetradic
#39317C #7C314F #747C31 #317C5F
square
#39317C #7C314F #747C31 #317C5F
split-complementary
#39317C #7C5F31 #4F7C31
monochromatic
#110E24 #252050 #39317C #4D42A8 #6F65C2

Accessibility & contrast

On white

11.03
#39317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#39317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39317C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39317C#FFFFFF#000000##FFFFFF
##39317C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#1E4251
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39317c;
/* rgb */ color: rgb(57, 49, 124);
/* oklch */ color: oklch(36.7% 0.123 283.4);
Tailwind
colors: {
  custom: {
    50: '#7669a2',
    500: '#39317c',
    950: '#000000',
  },
}
SCSS
$custom: #39317c;
$custom-light: #7669a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39317c",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 246.4,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36676,
    "c": 0.12263,
    "h": 283.4
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#39317C
secondary
#A2AA5F
accent
#D355C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #39317C

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

Preview Lab → · Contrast checker → · Palette generator →

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