#5F73AF#5F73AF

#5F73AF is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.6% C 0.096 H 269.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F73AF
RGBrgb(95, 115, 175)
HSLhsl(225, 33%, 53%)
HSVhsv(225, 46%, 69%)
CMYKcmyk(45.7%, 34.3%, 0%, 31.4%)
CIE-LABlab(49.24, 9.01, -34.26)
CIE-LCHlch(49.24, 35.42, 284.74°)
OKLaboklab(56.55% -0.0014 -0.0962)
OKLCHoklch(56.55% 0.096 269.2)
XYZxyz(18.5855, 17.7885, 43.0033)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73AF #AF9B5F
analogous
#5F9BAF #5F73AF #735FAF
triadic
#5F73AF #AF5F73 #73AF5F
tetradic
#5F73AF #AF5F9B #AF9B5F #5FAF73
square
#5F73AF #AF5F9B #AF9B5F #5FAF73
split-complementary
#5F73AF #AF735F #9BAF5F
monochromatic
#313D62 #46578B #5F73AF #8897C3 #B1BAD8

Accessibility & contrast

On white

4.61
#5F73AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5F73AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F73AF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73AF#FFFFFF#000000##FFFFFF
##5F73AF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#427F89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f73af;
/* rgb */ color: rgb(95, 115, 175);
/* oklch */ color: oklch(56.6% 0.096 269.2);
Tailwind
colors: {
  custom: {
    50: '#909bc7',
    500: '#5f73af',
    950: '#000000',
  },
}
SCSS
$custom: #5f73af;
$custom-light: #909bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73af",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 225,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.09626,
    "h": 269.2
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#5F73AF
secondary
#C6BEA4
accent
#AF5EC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F73AF

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

Preview Lab → · Contrast checker → · Palette generator →

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