#39339D#39339D

#39339D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.166 H 278.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#39339D
RGBrgb(57, 51, 157)
HSLhsl(243, 51%, 41%)
HSVhsv(243, 68%, 62%)
CMYKcmyk(63.7%, 67.5%, 0%, 38.4%)
CIE-LABlab(28.57, 35.42, -56.84)
CIE-LCHlch(28.57, 66.97, 301.93°)
OKLaboklab(39.91% 0.0239 -0.1639)
OKLCHoklch(39.91% 0.166 278.3)
XYZxyz(8.9550, 5.6711, 32.5145)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39339D #979D33
analogous
#33629D #39339D #6E339D
triadic
#39339D #9D3933 #339D39
tetradic
#39339D #9D3362 #979D33 #339D6E
square
#39339D #9D3362 #979D33 #339D6E
split-complementary
#39339D #9D6E33 #629D33
monochromatic
#171541 #28246F #39339D #5049C4 #7D77D3

Accessibility & contrast

On white

9.84
#39339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#39339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39339D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39339D#FFFFFF#000000##FFFFFF
##39339D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39339d;
/* rgb */ color: rgb(57, 51, 157);
/* oklch */ color: oklch(39.9% 0.166 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c6bbb',
    500: '#39339d',
    950: '#000000',
  },
}
SCSS
$custom: #39339d;
$custom-light: #7c6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#39339d",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 243.396,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.1656,
    "h": 278.3
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#39339D
secondary
#B7BB70
accent
#DA4DD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39339D

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

Preview Lab → · Contrast checker → · Palette generator →

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