#39309E#39309E

#39309E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.170 H 278.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#39309E
RGBrgb(57, 48, 158)
HSLhsl(245, 53%, 40%)
HSVhsv(245, 70%, 62%)
CMYKcmyk(63.9%, 69.6%, 0%, 38%)
CIE-LABlab(27.98, 37.58, -58.40)
CIE-LCHlch(27.98, 69.45, 302.76°)
OKLaboklab(39.51% 0.0262 -0.1684)
OKLCHoklch(39.51% 0.17 278.8)
XYZxyz(8.9139, 5.4517, 32.9237)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39309E #959E30
analogous
#305E9E #39309E #70309E
triadic
#39309E #9E3930 #309E39
tetradic
#39309E #9E305E #959E30 #309E70
square
#39309E #9E305E #959E30 #309E70
split-complementary
#39309E #9E7030 #5E9E30
monochromatic
#171340 #28226F #39309E #4F45C6 #7C74D5

Accessibility & contrast

On white

10.05
#39309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#39309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39309E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39309E#FFFFFF#000000##FFFFFF
##39309E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #39309e;
/* rgb */ color: rgb(57, 48, 158);
/* oklch */ color: oklch(39.5% 0.170 278.8);
Tailwind
colors: {
  custom: {
    50: '#7c69bc',
    500: '#39309e',
    950: '#000000',
  },
}
SCSS
$custom: #39309e;
$custom-light: #7c69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#39309e",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 244.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.17046,
    "h": 278.8
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39309E

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

Preview Lab → · Contrast checker → · Palette generator →

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