#5A82B3#5A82B3

#5A82B3 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.8% C 0.088 H 254.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5A82B3
RGBrgb(90, 130, 179)
HSLhsl(213, 37%, 53%)
HSVhsv(213, 50%, 70%)
CMYKcmyk(49.7%, 27.4%, 0%, 29.8%)
CIE-LABlab(53.38, 0.00, -30.13)
CIE-LCHlch(53.38, 30.13, 270.00°)
OKLaboklab(59.76% -0.0241 -0.0843)
OKLCHoklch(59.76% 0.088 254.1)
XYZxyz(20.3330, 21.3921, 45.6967)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82B3 #B38B5A
analogous
#5AAEB3 #5A82B3 #5F5AB3
triadic
#5A82B3 #B35A82 #82B35A
tetradic
#5A82B3 #B35AAE #B38B5A #5AB35F
square
#5A82B3 #B35AAE #B38B5A #5AB35F
split-complementary
#5A82B3 #B35F5A #AEB35A
monochromatic
#2E4764 #42648E #5A82B3 #84A2C6 #AEC1DA

Accessibility & contrast

On white

3.98
#5A82B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5A82B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82B3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82B3#FFFFFF#000000##000000
##5A82B31.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B5
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#318D93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a82b3;
/* rgb */ color: rgb(90, 130, 179);
/* oklch */ color: oklch(59.8% 0.088 254.1);
Tailwind
colors: {
  custom: {
    50: '#8ea6ca',
    500: '#5a82b3',
    950: '#000000',
  },
}
SCSS
$custom: #5a82b3;
$custom-light: #8ea6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82b3",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 179
  },
  "hsl": {
    "h": 213.034,
    "s": 36.929,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.0877,
    "h": 254.1
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#5A82B3
secondary
#C8B6A1
accent
#9A5BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0D0F13
muted
#7D7F82

Preview Lab

Preview with #5A82B3

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

Preview Lab → · Contrast checker → · Palette generator →

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