#39508A#39508A

#39508A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.100 H 266.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#39508A
RGBrgb(57, 80, 138)
HSLhsl(223, 42%, 38%)
HSVhsv(223, 59%, 54%)
CMYKcmyk(58.7%, 42%, 0%, 45.9%)
CIE-LABlab(34.89, 9.75, -35.04)
CIE-LCHlch(34.89, 36.37, 285.55°)
OKLaboklab(44.2% -0.0067 -0.0995)
OKLCHoklch(44.2% 0.1 266.1)
XYZxyz(9.1419, 8.4414, 25.1874)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39508A #8A7339
analogous
#39788A #39508A #4A398A
triadic
#39508A #8A3950 #508A39
tetradic
#39508A #8A3978 #8A7339 #398A4A
square
#39508A #8A3978 #8A7339 #398A4A
split-complementary
#39508A #8A4A39 #788A39
monochromatic
#151E33 #27375F #39508A #4B69B5 #778DC7

Accessibility & contrast

On white

7.81
#39508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#39508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39508A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39508A#FFFFFF#000000##FFFFFF
##39508A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #39508a;
/* rgb */ color: rgb(57, 80, 138);
/* oklch */ color: oklch(44.2% 0.100 266.1);
Tailwind
colors: {
  custom: {
    50: '#7680ac',
    500: '#39508a',
    950: '#000000',
  },
}
SCSS
$custom: #39508a;
$custom-light: #7680ac;
$custom-dark: #000000;
JSON
{
  "hex": "#39508a",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 222.963,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.09975,
    "h": 266.1
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#39508A
secondary
#B09D6F
accent
#AE56D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #39508A

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

Preview Lab → · Contrast checker → · Palette generator →

#39508A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva