#39288F#39288F

#39288F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.160 H 282.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#39288F
RGBrgb(57, 40, 143)
HSLhsl(250, 56%, 36%)
HSVhsv(250, 72%, 56%)
CMYKcmyk(60.1%, 72%, 0%, 43.9%)
CIE-LABlab(24.86, 37.41, -54.32)
CIE-LCHlch(24.86, 65.96, 304.55°)
OKLaboklab(36.84% 0.0352 -0.1565)
OKLCHoklch(36.84% 0.16 282.7)
XYZxyz(7.4025, 4.3701, 26.4347)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39288F #7E8F28
analogous
#284A8F #39288F #6C288F
triadic
#39288F #8F3928 #288F39
tetradic
#39288F #8F284A #7E8F28 #288F6C
square
#39288F #8F284A #7E8F28 #288F6C
split-complementary
#39288F #8F6C28 #4A8F28
monochromatic
#130D2F #261B5F #39288F #4C35BF #725FD2

Accessibility & contrast

On white

11.20
#39288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#39288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39288F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39288F#FFFFFF#000000##FFFFFF
##39288F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#024458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39288f;
/* rgb */ color: rgb(57, 40, 143);
/* oklch */ color: oklch(36.8% 0.160 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a64b1',
    500: '#39288f',
    950: '#000000',
  },
}
SCSS
$custom: #39288f;
$custom-light: #7a64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39288f",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 249.903,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.16038,
    "h": 282.7
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#39288F
secondary
#A8B85B
accent
#E048C7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #39288F

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

Preview Lab → · Contrast checker → · Palette generator →

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