#5A82C7#5A82C7

#5A82C7 is a mid, moderate blue. Relative luminance 0.223; OKLCH L 60.8% C 0.115 H 260.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A82C7
RGBrgb(90, 130, 199)
HSLhsl(218, 49%, 57%)
HSVhsv(218, 55%, 78%)
CMYKcmyk(54.8%, 34.7%, 0%, 22%)
CIE-LABlab(54.30, 6.30, -40.10)
CIE-LCHlch(54.30, 40.59, 278.92°)
OKLaboklab(60.79% -0.0184 -0.1132)
OKLCHoklch(60.79% 0.115 260.8)
XYZxyz(22.5044, 22.2607, 57.1326)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82C7 #C79F5A
analogous
#5AB8C7 #5A82C7 #695AC7
triadic
#5A82C7 #C75A82 #82C75A
tetradic
#5A82C7 #C75AB8 #C79F5A #5AC769
square
#5A82C7 #C75AB8 #C79F5A #5AC769
split-complementary
#5A82C7 #C7695A #B8C75A
monochromatic
#2A487C #3A63AA #5A82C7 #88A5D7 #B5C7E6

Accessibility & contrast

On white

3.85
#5A82C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5A82C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82C7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82C7#FFFFFF#000000##000000
##5A82C71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687CA
Deuteranopia (green-blind)
#597DC6
Tritanopia (blue-blind)
#18919B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a82c7;
/* rgb */ color: rgb(90, 130, 199);
/* oklch */ color: oklch(60.8% 0.115 260.8);
Tailwind
colors: {
  custom: {
    50: '#90a6d8',
    500: '#5a82c7',
    950: '#000000',
  },
}
SCSS
$custom: #5a82c7;
$custom-light: #90a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82c7",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 199
  },
  "hsl": {
    "h": 217.982,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.11473,
    "h": 260.8
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#5A82C7
secondary
#D5C4A8
accent
#A64FD9
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5A82C7

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

Preview Lab → · Contrast checker → · Palette generator →

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