#39338D#39338D

#39338D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.144 H 280.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#39338D
RGBrgb(57, 51, 141)
HSLhsl(244, 47%, 38%)
HSVhsv(244, 64%, 55%)
CMYKcmyk(59.6%, 63.8%, 0%, 44.7%)
CIE-LABlab(27.19, 29.99, -49.28)
CIE-LCHlch(27.19, 57.69, 301.32°)
OKLaboklab(38.47% 0.0255 -0.1417)
OKLCHoklch(38.47% 0.144 280.2)
XYZxyz(7.6774, 5.1601, 25.7856)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338D #878D33
analogous
#335A8D #39338D #66338D
triadic
#39338D #8D3933 #338D39
tetradic
#39338D #8D335A #878D33 #338D66
square
#39338D #8D335A #878D33 #338D66
split-complementary
#39338D #8D6633 #5A8D33
monochromatic
#151233 #272360 #39338D #4B43BA #756FCB

Accessibility & contrast

On white

10.33
#39338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#39338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39338D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338D#FFFFFF#000000##FFFFFF
##39338D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#04495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39338d;
/* rgb */ color: rgb(57, 51, 141);
/* oklch */ color: oklch(38.5% 0.144 280.2);
Tailwind
colors: {
  custom: {
    50: '#786baf',
    500: '#39338d',
    950: '#000000',
  },
}
SCSS
$custom: #39338d;
$custom-light: #786baf;
$custom-dark: #000000;
JSON
{
  "hex": "#39338d",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 244,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.14393,
    "h": 280.2
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39338D

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

Preview Lab → · Contrast checker → · Palette generator →

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