#39518E#39518E

#39518E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.104 H 266.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#39518E
RGBrgb(57, 81, 142)
HSLhsl(223, 43%, 39%)
HSVhsv(223, 60%, 56%)
CMYKcmyk(59.9%, 43%, 0%, 44.3%)
CIE-LABlab(35.41, 10.52, -36.64)
CIE-LCHlch(35.41, 38.12, 286.01°)
OKLaboklab(44.69% -0.0071 -0.1042)
OKLCHoklch(44.69% 0.104 266.1)
XYZxyz(9.5106, 8.7069, 26.7654)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39518E #8E7639
analogous
#397C8E #39518E #4C398E
triadic
#39518E #8E3951 #518E39
tetradic
#39518E #8E397C #8E7639 #398E4C
square
#39518E #8E397C #8E7639 #398E4C
split-complementary
#39518E #8E4C39 #7C8E39
monochromatic
#161F37 #273862 #39518E #4D6BB7 #788FC9

Accessibility & contrast

On white

7.66
#39518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#39518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39518E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39518E#FFFFFF#000000##FFFFFF
##39518E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #39518e;
/* rgb */ color: rgb(57, 81, 142);
/* oklch */ color: oklch(44.7% 0.104 266.1);
Tailwind
colors: {
  custom: {
    50: '#7781af',
    500: '#39518e',
    950: '#000000',
  },
}
SCSS
$custom: #39518e;
$custom-light: #7781af;
$custom-dark: #000000;
JSON
{
  "hex": "#39518e",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 223.059,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.10445,
    "h": 266.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#39518E
secondary
#B2A071
accent
#AF55D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #39518E

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

Preview Lab → · Contrast checker → · Palette generator →

#39518E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva