#39339C#39339C

#39339C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.164 H 278.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#39339C
RGBrgb(57, 51, 156)
HSLhsl(243, 51%, 41%)
HSVhsv(243, 67%, 61%)
CMYKcmyk(63.5%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.48, 35.08, -56.38)
CIE-LCHlch(28.48, 66.40, 301.89°)
OKLaboklab(39.81% 0.024 -0.1625)
OKLCHoklch(39.81% 0.164 278.4)
XYZxyz(8.8700, 5.6371, 32.0667)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39339C #969C33
analogous
#33619C #39339C #6E339C
triadic
#39339C #9C3933 #339C39
tetradic
#39339C #9C3361 #969C33 #339C6E
square
#39339C #9C3361 #969C33 #339C6E
split-complementary
#39339C #9C6E33 #619C33
monochromatic
#171540 #28246E #39339C #5049C3 #7C77D3

Accessibility & contrast

On white

9.87
#39339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#39339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39339C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39339C#FFFFFF#000000##FFFFFF
##39339C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39339c;
/* rgb */ color: rgb(57, 51, 156);
/* oklch */ color: oklch(39.8% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b6bba',
    500: '#39339c',
    950: '#000000',
  },
}
SCSS
$custom: #39339c;
$custom-light: #7b6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#39339c",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 243.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.16427,
    "h": 278.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#39339C
secondary
#B7BB70
accent
#DA4ED2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39339C

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

Preview Lab → · Contrast checker → · Palette generator →

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