#39308A#39308A

#39308A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.144 H 281.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#39308A
RGBrgb(57, 48, 138)
HSLhsl(246, 48%, 36%)
HSVhsv(246, 65%, 54%)
CMYKcmyk(58.7%, 65.2%, 0%, 45.9%)
CIE-LABlab(26.21, 30.89, -49.01)
CIE-LCHlch(26.21, 57.93, 302.22°)
OKLaboklab(37.68% 0.0287 -0.1409)
OKLCHoklch(37.68% 0.144 281.5)
XYZxyz(7.3303, 4.8183, 24.5836)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39308A #818A30
analogous
#30548A #39308A #66308A
triadic
#39308A #8A3930 #308A39
tetradic
#39308A #8A3054 #818A30 #308A66
square
#39308A #8A3054 #818A30 #308A66
split-complementary
#39308A #8A6630 #548A30
monochromatic
#13102F #26205D #39308A #4C40B7 #7369CB

Accessibility & contrast

On white

10.69
#39308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#39308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39308A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39308A#FFFFFF#000000##FFFFFF
##39308A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#0C4658
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #39308a;
/* rgb */ color: rgb(57, 48, 138);
/* oklch */ color: oklch(37.7% 0.144 281.5);
Tailwind
colors: {
  custom: {
    50: '#7869ad',
    500: '#39308a',
    950: '#000000',
  },
}
SCSS
$custom: #39308a;
$custom-light: #7869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39308a",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 246,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37681,
    "c": 0.14377,
    "h": 281.5
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#39308A
secondary
#AAB264
accent
#D850CA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #39308A

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

Preview Lab → · Contrast checker → · Palette generator →

#39308A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva