#5F709C#5F709C

#5F709C is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.072 H 267.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F709C
RGBrgb(95, 112, 156)
HSLhsl(223, 24%, 49%)
HSVhsv(223, 39%, 61%)
CMYKcmyk(39.1%, 28.2%, 0%, 38.8%)
CIE-LABlab(47.52, 5.19, -25.83)
CIE-LCHlch(47.52, 26.34, 281.37°)
OKLaboklab(54.94% -0.0028 -0.0719)
OKLCHoklch(54.94% 0.072 267.8)
XYZxyz(16.5124, 16.4208, 33.7455)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F709C #9C8B5F
analogous
#5F8F9C #5F709C #6D5F9C
triadic
#5F709C #9C5F70 #709C5F
tetradic
#5F709C #9C5F8F #9C8B5F #5F9C6D
square
#5F709C #9C5F8F #9C8B5F #5F9C6D
split-complementary
#5F709C #9C6D5F #8F9C5F
monochromatic
#313950 #485576 #5F709C #8491B4 #AAB3CB

Accessibility & contrast

On white

4.90
#5F709C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5F709C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F709C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F709C#FFFFFF#000000##FFFFFF
##5F709C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61749E
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#4C797F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f709c;
/* rgb */ color: rgb(95, 112, 156);
/* oklch */ color: oklch(54.9% 0.072 267.8);
Tailwind
colors: {
  custom: {
    50: '#8e98b9',
    500: '#5f709c',
    950: '#000000',
  },
}
SCSS
$custom: #5f709c;
$custom-light: #8e98b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f709c",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 156
  },
  "hsl": {
    "h": 223.279,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.07196,
    "h": 267.8
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#5F709C
secondary
#BAB29D
accent
#A867C1
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0D11
muted
#7D7E80

Preview Lab

Preview with #5F709C

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

Preview Lab → · Contrast checker → · Palette generator →

#5F709C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva