#39309F#39309F

#39309F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.172 H 278.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#39309F
RGBrgb(57, 48, 159)
HSLhsl(245, 54%, 41%)
HSVhsv(245, 70%, 62%)
CMYKcmyk(64.2%, 69.8%, 0%, 37.6%)
CIE-LABlab(28.08, 37.91, -58.86)
CIE-LCHlch(28.08, 70.01, 302.78°)
OKLaboklab(39.61% 0.026 -0.1698)
OKLCHoklch(39.61% 0.172 278.7)
XYZxyz(9.0003, 5.4863, 33.3788)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39309F #969F30
analogous
#305E9F #39309F #70309F
triadic
#39309F #9F3930 #309F39
tetradic
#39309F #9F305E #969F30 #309F70
square
#39309F #9F305E #969F30 #309F70
split-complementary
#39309F #9F7030 #5E9F30
monochromatic
#171441 #282270 #39309F #5045C7 #7C74D5

Accessibility & contrast

On white

10.01
#39309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#39309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39309F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39309F#FFFFFF#000000##FFFFFF
##39309F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #39309f;
/* rgb */ color: rgb(57, 48, 159);
/* oklch */ color: oklch(39.6% 0.172 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c69bc',
    500: '#39309f',
    950: '#000000',
  },
}
SCSS
$custom: #39309f;
$custom-light: #7c69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#39309f",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 244.865,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.17175,
    "h": 278.7
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#39309F
secondary
#B7BD6E
accent
#DD4BD1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #39309F

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

Preview Lab → · Contrast checker → · Palette generator →

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