#39508C#39508C

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

Color values

HEX#39508C
RGBrgb(57, 80, 140)
HSLhsl(223, 42%, 39%)
HSVhsv(223, 59%, 55%)
CMYKcmyk(59.3%, 42.9%, 0%, 45.1%)
CIE-LABlab(35.00, 10.46, -36.08)
CIE-LCHlch(35.00, 37.56, 286.17°)
OKLaboklab(44.33% -0.0063 -0.1026)
OKLCHoklch(44.33% 0.103 266.5)
XYZxyz(9.2880, 8.4999, 25.9570)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39508C #8C7539
analogous
#39798C #39508C #4B398C
triadic
#39508C #8C3950 #508C39
tetradic
#39508C #8C3979 #8C7539 #398C4B
square
#39508C #8C3979 #8C7539 #398C4B
split-complementary
#39508C #8C4B39 #798C39
monochromatic
#161E35 #273761 #39508C #4C69B6 #788EC8

Accessibility & contrast

On white

7.78
#39508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#39508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39508C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39508C#FFFFFF#000000##FFFFFF
##39508C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #39508c;
/* rgb */ color: rgb(57, 80, 140);
/* oklch */ color: oklch(44.3% 0.103 266.5);
Tailwind
colors: {
  custom: {
    50: '#7780ae',
    500: '#39508c',
    950: '#000000',
  },
}
SCSS
$custom: #39508c;
$custom-light: #7780ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39508c",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 223.373,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.10276,
    "h": 266.5
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#39508C
secondary
#B19F70
accent
#B056D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #39508C

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

Preview Lab → · Contrast checker → · Palette generator →

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