#39309D#39309D

#39309D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.169 H 279.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#39309D
RGBrgb(57, 48, 157)
HSLhsl(245, 53%, 40%)
HSVhsv(245, 69%, 62%)
CMYKcmyk(63.7%, 69.4%, 0%, 38.4%)
CIE-LABlab(27.89, 37.25, -57.95)
CIE-LCHlch(27.89, 68.88, 302.73°)
OKLaboklab(39.42% 0.0263 -0.1671)
OKLCHoklch(39.42% 0.169 279)
XYZxyz(8.8282, 5.4174, 32.4722)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39309D #949D30
analogous
#305E9D #39309D #6F309D
triadic
#39309D #9D3930 #309D39
tetradic
#39309D #9D305E #949D30 #309D6F
square
#39309D #9D305E #949D30 #309D6F
split-complementary
#39309D #9D6F30 #5E9D30
monochromatic
#17133F #28226E #39309D #4F44C6 #7B73D4

Accessibility & contrast

On white

10.08
#39309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#39309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39309D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39309D#FFFFFF#000000##FFFFFF
##39309D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #39309d;
/* rgb */ color: rgb(57, 48, 157);
/* oklch */ color: oklch(39.4% 0.169 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c69bb',
    500: '#39309d',
    950: '#000000',
  },
}
SCSS
$custom: #39309d;
$custom-light: #7c69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39309d",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 244.954,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.16916,
    "h": 279
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#39309D
secondary
#B6BC6D
accent
#DD4BD1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #39309D

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

Preview Lab → · Contrast checker → · Palette generator →

#39309D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva