#39338C#39338C

#39338C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.143 H 280.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#39338C
RGBrgb(57, 51, 140)
HSLhsl(244, 47%, 37%)
HSVhsv(244, 64%, 55%)
CMYKcmyk(59.3%, 63.6%, 0%, 45.1%)
CIE-LABlab(27.10, 29.65, -48.80)
CIE-LCHlch(27.10, 57.10, 301.28°)
OKLaboklab(38.39% 0.0255 -0.1402)
OKLCHoklch(38.39% 0.143 280.3)
XYZxyz(7.6033, 5.1304, 25.3955)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338C #868C33
analogous
#33598C #39338C #66338C
triadic
#39338C #8C3933 #338C39
tetradic
#39338C #8C3359 #868C33 #338C66
square
#39338C #8C3359 #868C33 #338C66
split-complementary
#39338C #8C6633 #598C33
monochromatic
#141232 #27235F #39338C #4B43B9 #756FCB

Accessibility & contrast

On white

10.36
#39338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39338C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338C#FFFFFF#000000##FFFFFF
##39338C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#06495A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39338c;
/* rgb */ color: rgb(57, 51, 140);
/* oklch */ color: oklch(38.4% 0.143 280.3);
Tailwind
colors: {
  custom: {
    50: '#786bae',
    500: '#39338c',
    950: '#000000',
  },
}
SCSS
$custom: #39338c;
$custom-light: #786bae;
$custom-dark: #000000;
JSON
{
  "hex": "#39338c",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 244.045,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.14255,
    "h": 280.3
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39338C

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

Preview Lab → · Contrast checker → · Palette generator →

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