#39339B#39339B

#39339B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.163 H 278.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#39339B
RGBrgb(57, 51, 155)
HSLhsl(243, 50%, 40%)
HSVhsv(243, 67%, 61%)
CMYKcmyk(63.2%, 67.1%, 0%, 39.2%)
CIE-LABlab(28.39, 34.74, -55.91)
CIE-LCHlch(28.39, 65.83, 301.85°)
OKLaboklab(39.72% 0.0242 -0.1611)
OKLCHoklch(39.72% 0.163 278.5)
XYZxyz(8.7857, 5.6034, 31.6226)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39339B #959B33
analogous
#33619B #39339B #6D339B
triadic
#39339B #9B3933 #339B39
tetradic
#39339B #9B3361 #959B33 #339B6D
square
#39339B #9B3361 #959B33 #339B6D
split-complementary
#39339B #9B6D33 #619B33
monochromatic
#17153F #28246D #39339B #4F48C3 #7C76D2

Accessibility & contrast

On white

9.90
#39339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#39339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39339B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39339B#FFFFFF#000000##FFFFFF
##39339B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39339b;
/* rgb */ color: rgb(57, 51, 155);
/* oklch */ color: oklch(39.7% 0.163 278.5);
Tailwind
colors: {
  custom: {
    50: '#7b6bb9',
    500: '#39339b',
    950: '#000000',
  },
}
SCSS
$custom: #39339b;
$custom-light: #7b6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#39339b",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 243.462,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.16294,
    "h": 278.5
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#39339B
secondary
#B6BA6F
accent
#DA4ED2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39339B

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

Preview Lab → · Contrast checker → · Palette generator →

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