#5F79AF#5F79AF

#5F79AF is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.9% C 0.089 H 264.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F79AF
RGBrgb(95, 121, 175)
HSLhsl(221, 33%, 53%)
HSVhsv(221, 46%, 69%)
CMYKcmyk(45.7%, 30.9%, 0%, 31.4%)
CIE-LABlab(50.92, 5.39, -31.62)
CIE-LCHlch(50.92, 32.08, 279.67°)
OKLaboklab(57.86% -0.0091 -0.0886)
OKLCHoklch(57.86% 0.089 264.1)
XYZxyz(19.2921, 19.2016, 43.2389)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79AF #AF955F
analogous
#5FA1AF #5F79AF #6D5FAF
triadic
#5F79AF #AF5F79 #79AF5F
tetradic
#5F79AF #AF5FA1 #AF955F #5FAF6D
square
#5F79AF #AF5FA1 #AF955F #5FAF6D
split-complementary
#5F79AF #AF6D5F #A1AF5F
monochromatic
#314162 #465C8B #5F79AF #889BC3 #B1BDD8

Accessibility & contrast

On white

4.34
#5F79AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5F79AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79AF#FFFFFF#000000##000000
##5F79AF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#41848C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f79af;
/* rgb */ color: rgb(95, 121, 175);
/* oklch */ color: oklch(57.9% 0.089 264.1);
Tailwind
colors: {
  custom: {
    50: '#909fc7',
    500: '#5f79af',
    950: '#000000',
  },
}
SCSS
$custom: #5f79af;
$custom-light: #909fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79af",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 175
  },
  "hsl": {
    "h": 220.5,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.08907,
    "h": 264.1
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#5F79AF
secondary
#C6BBA4
accent
#A75EC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F79AF

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

Preview Lab → · Contrast checker → · Palette generator →

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