#39338A#39338A

#39338A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.140 H 280.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#39338A
RGBrgb(57, 51, 138)
HSLhsl(244, 46%, 37%)
HSVhsv(244, 63%, 54%)
CMYKcmyk(58.7%, 63%, 0%, 45.9%)
CIE-LABlab(26.94, 28.97, -47.82)
CIE-LCHlch(26.94, 55.91, 301.21°)
OKLaboklab(38.21% 0.0257 -0.1374)
OKLCHoklch(38.21% 0.14 280.6)
XYZxyz(7.4572, 5.0720, 24.6259)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338A #848A33
analogous
#33598A #39338A #65338A
triadic
#39338A #8A3933 #338A39
tetradic
#39338A #8A3359 #848A33 #338A65
square
#39338A #8A3359 #848A33 #338A65
split-complementary
#39338A #8A6533 #598A33
monochromatic
#141231 #27225D #39338A #4B44B7 #746EC9

Accessibility & contrast

On white

10.42
#39338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#39338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39338A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338A#FFFFFF#000000##FFFFFF
##39338A1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#0B4859
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39338a;
/* rgb */ color: rgb(57, 51, 138);
/* oklch */ color: oklch(38.2% 0.140 280.6);
Tailwind
colors: {
  custom: {
    50: '#786bad',
    500: '#39338a',
    950: '#000000',
  },
}
SCSS
$custom: #39338a;
$custom-light: #786bad;
$custom-dark: #000000;
JSON
{
  "hex": "#39338a",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 244.138,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.13976,
    "h": 280.6
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#39338A
secondary
#ACB167
accent
#D652CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #39338A

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

Preview Lab → · Contrast checker → · Palette generator →

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