#5F74AE#5F74AE

#5F74AE is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.7% C 0.094 H 268.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F74AE
RGBrgb(95, 116, 174)
HSLhsl(224, 33%, 53%)
HSVhsv(224, 45%, 68%)
CMYKcmyk(45.4%, 33.3%, 0%, 31.8%)
CIE-LABlab(49.47, 8.10, -33.31)
CIE-LCHlch(49.47, 34.28, 283.67°)
OKLaboklab(56.72% -0.003 -0.0935)
OKLCHoklch(56.72% 0.094 268.2)
XYZxyz(18.6023, 17.9786, 42.5262)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74AE #AE995F
analogous
#5F9BAE #5F74AE #725FAE
triadic
#5F74AE #AE5F74 #74AE5F
tetradic
#5F74AE #AE5F9B #AE995F #5FAE72
square
#5F74AE #AE5F9B #AE995F #5FAE72
split-complementary
#5F74AE #AE725F #9BAE5F
monochromatic
#313E61 #46588A #5F74AE #8897C3 #B0BBD7

Accessibility & contrast

On white

4.57
#5F74AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5F74AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74AE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74AE#FFFFFF#000000##000000
##5F74AE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F79B0
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#428089
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f74ae;
/* rgb */ color: rgb(95, 116, 174);
/* oklch */ color: oklch(56.7% 0.094 268.2);
Tailwind
colors: {
  custom: {
    50: '#909bc6',
    500: '#5f74ae',
    950: '#000000',
  },
}
SCSS
$custom: #5f74ae;
$custom-light: #909bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74ae",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 174
  },
  "hsl": {
    "h": 224.051,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.09356,
    "h": 268.2
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#5F74AE
secondary
#C6BCA3
accent
#AD5FC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F74AE

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

Preview Lab → · Contrast checker → · Palette generator →

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