#5A7DAF#5A7DAF

#5A7DAF is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.4% C 0.087 H 257.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A7DAF
RGBrgb(90, 125, 175)
HSLhsl(215, 35%, 52%)
HSVhsv(215, 49%, 69%)
CMYKcmyk(48.6%, 28.6%, 0%, 31.4%)
CIE-LABlab(51.76, 1.73, -30.33)
CIE-LCHlch(51.76, 30.38, 273.26°)
OKLaboklab(58.44% -0.0191 -0.0849)
OKLCHoklch(58.44% 0.087 257.3)
XYZxyz(19.2853, 19.9347, 43.3807)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DAF #AF8C5A
analogous
#5AA8AF #5A7DAF #625AAF
triadic
#5A7DAF #AF5A7D #7DAF5A
tetradic
#5A7DAF #AF5AA8 #AF8C5A #5AAF62
square
#5A7DAF #AF5AA8 #AF8C5A #5AAF62
split-complementary
#5A7DAF #AF625A #A8AF5A
monochromatic
#2F4360 #436089 #5A7DAF #839DC3 #ACBED7

Accessibility & contrast

On white

4.21
#5A7DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5A7DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DAF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DAF#FFFFFF#000000##000000
##5A7DAF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A80B1
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#35888E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a7daf;
/* rgb */ color: rgb(90, 125, 175);
/* oklch */ color: oklch(58.4% 0.087 257.3);
Tailwind
colors: {
  custom: {
    50: '#8da2c7',
    500: '#5a7daf',
    950: '#000000',
  },
}
SCSS
$custom: #5a7daf;
$custom-light: #8da2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7daf",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 215.294,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.08707,
    "h": 257.3
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#5A7DAF
secondary
#C5B6A0
accent
#9E5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0F13
muted
#7D7E82

Preview Lab

Preview with #5A7DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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