#5F74A2#5F74A2

#5F74A2 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.1% C 0.076 H 265.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5F74A2
RGBrgb(95, 116, 162)
HSLhsl(221, 26%, 50%)
HSVhsv(221, 41%, 64%)
CMYKcmyk(41.4%, 28.4%, 0%, 36.5%)
CIE-LABlab(48.92, 4.52, -27.17)
CIE-LCHlch(48.92, 27.55, 279.45°)
OKLaboklab(56.11% -0.0064 -0.0758)
OKLCHoklch(56.11% 0.076 265.2)
XYZxyz(17.4843, 17.5314, 36.6380)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74A2 #A28D5F
analogous
#5F95A2 #5F74A2 #6B5FA2
triadic
#5F74A2 #A25F74 #74A25F
tetradic
#5F74A2 #A25F95 #A28D5F #5FA26B
square
#5F74A2 #A25F95 #A28D5F #5FA26B
split-complementary
#5F74A2 #A26B5F #95A25F
monochromatic
#313D55 #48587C #5F74A2 #8696B8 #ACB7CF

Accessibility & contrast

On white

4.66
#5F74A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5F74A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F74A2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74A2#FFFFFF#000000##FFFFFF
##5F74A21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#487E84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f74a2;
/* rgb */ color: rgb(95, 116, 162);
/* oklch */ color: oklch(56.1% 0.076 265.2);
Tailwind
colors: {
  custom: {
    50: '#8f9bbd',
    500: '#5f74a2',
    950: '#000000',
  },
}
SCSS
$custom: #5f74a2;
$custom-light: #8f9bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74a2",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 221.194,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.07605,
    "h": 265.2
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#5F74A2
secondary
#BDB49F
accent
#A565C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0D0E12
muted
#7D7E81

Preview Lab

Preview with #5F74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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