#5F73AB#5F73AB

#5F73AB is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.090 H 268.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F73AB
RGBrgb(95, 115, 171)
HSLhsl(224, 31%, 52%)
HSVhsv(224, 44%, 67%)
CMYKcmyk(44.4%, 32.7%, 0%, 32.9%)
CIE-LABlab(49.05, 7.80, -32.23)
CIE-LCHlch(49.05, 33.16, 283.61°)
OKLaboklab(56.35% -0.0025 -0.0904)
OKLCHoklch(56.35% 0.09 268.4)
XYZxyz(18.1984, 17.6336, 40.9649)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73AB #AB975F
analogous
#5F99AB #5F73AB #715FAB
triadic
#5F73AB #AB5F73 #73AB5F
tetradic
#5F73AB #AB5F99 #AB975F #5FAB71
square
#5F73AB #AB5F99 #AB975F #5FAB71
split-complementary
#5F73AB #AB715F #99AB5F
monochromatic
#313D5E #475786 #5F73AB #8796C0 #AFB9D5

Accessibility & contrast

On white

4.64
#5F73AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5F73AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F73AB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73AB#FFFFFF#000000##FFFFFF
##5F73AB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#5871AA
Tritanopia (blue-blind)
#447F87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f73ab;
/* rgb */ color: rgb(95, 115, 171);
/* oklch */ color: oklch(56.3% 0.090 268.4);
Tailwind
colors: {
  custom: {
    50: '#909bc4',
    500: '#5f73ab',
    950: '#000000',
  },
}
SCSS
$custom: #5f73ab;
$custom-light: #909bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73ab",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 224.211,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.0904,
    "h": 268.4
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#5F73AB
secondary
#C3BBA2
accent
#AC60C7
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #5F73AB

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

Preview Lab → · Contrast checker → · Palette generator →

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