#39508B#39508B

#39508B is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.101 H 266.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#39508B
RGBrgb(57, 80, 139)
HSLhsl(223, 42%, 38%)
HSVhsv(223, 59%, 55%)
CMYKcmyk(59%, 42.4%, 0%, 45.5%)
CIE-LABlab(34.94, 10.11, -35.56)
CIE-LCHlch(34.94, 36.97, 285.87°)
OKLaboklab(44.27% -0.0065 -0.101)
OKLCHoklch(44.27% 0.101 266.3)
XYZxyz(9.2146, 8.4705, 25.5705)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39508B #8B7439
analogous
#39798B #39508B #4B398B
triadic
#39508B #8B3950 #508B39
tetradic
#39508B #8B3979 #8B7439 #398B4B
square
#39508B #8B3979 #8B7439 #398B4B
split-complementary
#39508B #8B4B39 #798B39
monochromatic
#151E34 #273760 #39508B #4C69B5 #778EC7

Accessibility & contrast

On white

7.79
#39508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39508B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39508B#FFFFFF#000000##FFFFFF
##39508B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39508b;
/* rgb */ color: rgb(57, 80, 139);
/* oklch */ color: oklch(44.3% 0.101 266.3);
Tailwind
colors: {
  custom: {
    50: '#7680ad',
    500: '#39508b',
    950: '#000000',
  },
}
SCSS
$custom: #39508b;
$custom-light: #7680ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39508b",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 223.171,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.10125,
    "h": 266.3
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#39508B
secondary
#B09E6F
accent
#AF56D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #39508B

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

Preview Lab → · Contrast checker → · Palette generator →

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