#39338F#39338F

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

Color values

HEX#39338F
RGBrgb(57, 51, 143)
HSLhsl(244, 47%, 38%)
HSVhsv(244, 64%, 56%)
CMYKcmyk(60.1%, 64.3%, 0%, 43.9%)
CIE-LABlab(27.35, 30.67, -50.24)
CIE-LCHlch(27.35, 58.87, 301.40°)
OKLaboklab(38.65% 0.0253 -0.1445)
OKLCHoklch(38.65% 0.147 279.9)
XYZxyz(7.8275, 5.2201, 26.5764)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338F #898F33
analogous
#335B8F #39338F #67338F
triadic
#39338F #8F3933 #338F39
tetradic
#39338F #8F335B #898F33 #338F67
square
#39338F #8F335B #898F33 #338F67
split-complementary
#39338F #8F6733 #5B8F33
monochromatic
#151335 #272362 #39338F #4B43BC #7670CC

Accessibility & contrast

On white

10.27
#39338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39338F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338F#FFFFFF#000000##FFFFFF
##39338F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #39338f;
/* rgb */ color: rgb(57, 51, 143);
/* oklch */ color: oklch(38.6% 0.147 279.9);
Tailwind
colors: {
  custom: {
    50: '#796bb1',
    500: '#39338f',
    950: '#000000',
  },
}
SCSS
$custom: #39338f;
$custom-light: #796bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#39338f",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 243.913,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.1467,
    "h": 279.9
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#39338F
secondary
#AFB46A
accent
#D751CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #39338F

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

Preview Lab → · Contrast checker → · Palette generator →

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