#5374AF#5374AF

#5374AF is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.0% C 0.100 H 261.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5374AF
RGBrgb(83, 116, 175)
HSLhsl(218, 37%, 51%)
HSVhsv(218, 53%, 69%)
CMYKcmyk(52.6%, 33.7%, 0%, 31.4%)
CIE-LABlab(48.79, 5.44, -35.01)
CIE-LCHlch(48.79, 35.43, 278.83°)
OKLaboklab(56.01% -0.0149 -0.0987)
OKLCHoklch(56.01% 0.1 261.4)
XYZxyz(17.5479, 17.4237, 42.9875)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5374AF #AF8E53
analogous
#53A2AF #5374AF #6053AF
triadic
#5374AF #AF5374 #74AF53
tetradic
#5374AF #AF53A2 #AF8E53 #53AF60
square
#5374AF #AF53A2 #AF8E53 #53AF60
split-complementary
#5374AF #AF6053 #A2AF53
monochromatic
#2B3D5D #3E5886 #5374AF #7D96C2 #A7B8D6

Accessibility & contrast

On white

4.68
#5374AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5374AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5374AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5374AF#FFFFFF#000000##FFFFFF
##5374AF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#258189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5374af;
/* rgb */ color: rgb(83, 116, 175);
/* oklch */ color: oklch(56.0% 0.100 261.4);
Tailwind
colors: {
  custom: {
    50: '#899bc7',
    500: '#5374af',
    950: '#000000',
  },
}
SCSS
$custom: #5374af;
$custom-light: #899bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5374af",
  "rgb": {
    "r": 83,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 218.478,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.09977,
    "h": 261.4
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#5374AF
secondary
#C3B59A
accent
#A45BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5374AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5374AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva