#39339F#39339F

#39339F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.168 H 278.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#39339F
RGBrgb(57, 51, 159)
HSLhsl(243, 51%, 41%)
HSVhsv(243, 68%, 62%)
CMYKcmyk(64.2%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.75, 36.09, -57.76)
CIE-LCHlch(28.75, 68.11, 302.00°)
OKLaboklab(40.09% 0.0237 -0.1666)
OKLCHoklch(40.09% 0.168 278.1)
XYZxyz(9.1272, 5.7400, 33.4211)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39339F #999F33
analogous
#33639F #39339F #6F339F
triadic
#39339F #9F3933 #339F39
tetradic
#39339F #9F3363 #999F33 #339F6F
square
#39339F #9F3363 #999F33 #339F6F
split-complementary
#39339F #9F6F33 #639F33
monochromatic
#181542 #282471 #39339F #514AC5 #7E79D4

Accessibility & contrast

On white

9.78
#39339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#39339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39339F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39339F#FFFFFF#000000##FFFFFF
##39339F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #39339f;
/* rgb */ color: rgb(57, 51, 159);
/* oklch */ color: oklch(40.1% 0.168 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c6bbc',
    500: '#39339f',
    950: '#000000',
  },
}
SCSS
$custom: #39339f;
$custom-light: #7c6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#39339f",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 243.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.16823,
    "h": 278.1
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#39339F
secondary
#B8BC71
accent
#DB4DD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #39339F

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

Preview Lab → · Contrast checker → · Palette generator →

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