#39339A#39339A

#39339A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.162 H 278.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#39339A
RGBrgb(57, 51, 154)
HSLhsl(243, 50%, 40%)
HSVhsv(243, 67%, 60%)
CMYKcmyk(63%, 66.9%, 0%, 39.6%)
CIE-LABlab(28.30, 34.40, -55.45)
CIE-LCHlch(28.30, 65.25, 301.82°)
OKLaboklab(39.63% 0.0243 -0.1598)
OKLCHoklch(39.63% 0.162 278.6)
XYZxyz(8.7020, 5.5699, 31.1821)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39339A #949A33
analogous
#33619A #39339A #6C339A
triadic
#39339A #9A3933 #339A39
tetradic
#39339A #9A3361 #949A33 #339A6C
square
#39339A #9A3361 #949A33 #339A6C
split-complementary
#39339A #9A6C33 #619A33
monochromatic
#17153E #28246C #39339A #4F48C2 #7B76D2

Accessibility & contrast

On white

9.93
#39339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#39339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39339A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39339A#FFFFFF#000000##FFFFFF
##39339A1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39339a;
/* rgb */ color: rgb(57, 51, 154);
/* oklch */ color: oklch(39.6% 0.162 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b6bb9',
    500: '#39339a',
    950: '#000000',
  },
}
SCSS
$custom: #39339a;
$custom-light: #7b6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#39339a",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 243.495,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.16161,
    "h": 278.6
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#39339A
secondary
#B6BA6F
accent
#DA4ED2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #39339A

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

Preview Lab → · Contrast checker → · Palette generator →

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