#39338B#39338B

#39338B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.141 H 280.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#39338B
RGBrgb(57, 51, 139)
HSLhsl(244, 46%, 37%)
HSVhsv(244, 63%, 55%)
CMYKcmyk(59%, 63.3%, 0%, 45.5%)
CIE-LABlab(27.02, 29.31, -48.31)
CIE-LCHlch(27.02, 56.50, 301.25°)
OKLaboklab(38.3% 0.0256 -0.1388)
OKLCHoklch(38.3% 0.141 280.4)
XYZxyz(7.5299, 5.1011, 25.0089)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39338B #858B33
analogous
#33598B #39338B #65338B
triadic
#39338B #8B3933 #338B39
tetradic
#39338B #8B3359 #858B33 #338B65
square
#39338B #8B3359 #858B33 #338B65
split-complementary
#39338B #8B6533 #598B33
monochromatic
#141231 #27235E #39338B #4B43B8 #756ECA

Accessibility & contrast

On white

10.39
#39338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#39338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39338B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39338B#FFFFFF#000000##FFFFFF
##39338B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#09495A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39338b;
/* rgb */ color: rgb(57, 51, 139);
/* oklch */ color: oklch(38.3% 0.141 280.4);
Tailwind
colors: {
  custom: {
    50: '#786bae',
    500: '#39338b',
    950: '#000000',
  },
}
SCSS
$custom: #39338b;
$custom-light: #786bae;
$custom-dark: #000000;
JSON
{
  "hex": "#39338b",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 244.091,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.14115,
    "h": 280.4
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39338B

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

Preview Lab → · Contrast checker → · Palette generator →

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