#39338E#39338E

#39338E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.145 H 280.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#39338E
RGBrgb(57, 51, 142)
HSLhsl(244, 47%, 38%)
HSVhsv(244, 64%, 56%)
CMYKcmyk(59.9%, 64.1%, 0%, 44.3%)
CIE-LABlab(27.27, 30.33, -49.76)
CIE-LCHlch(27.27, 58.28, 301.36°)
OKLaboklab(38.56% 0.0254 -0.1431)
OKLCHoklch(38.56% 0.145 280.1)
XYZxyz(7.7521, 5.1900, 26.1792)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338E #888E33
analogous
#335A8E #39338E #66338E
triadic
#39338E #8E3933 #338E39
tetradic
#39338E #8E335A #888E33 #338E66
square
#39338E #8E335A #888E33 #338E66
split-complementary
#39338E #8E6633 #5A8E33
monochromatic
#151334 #272361 #39338E #4B43BB #7670CC

Accessibility & contrast

On white

10.30
#39338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#39338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39338E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338E#FFFFFF#000000##FFFFFF
##39338E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#02495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39338e;
/* rgb */ color: rgb(57, 51, 142);
/* oklch */ color: oklch(38.6% 0.145 280.1);
Tailwind
colors: {
  custom: {
    50: '#796bb0',
    500: '#39338e',
    950: '#000000',
  },
}
SCSS
$custom: #39338e;
$custom-light: #796bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#39338e",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 243.956,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.14532,
    "h": 280.1
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#39338E
secondary
#AFB469
accent
#D751CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #39338E

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

Preview Lab → · Contrast checker → · Palette generator →

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