#5285B2#5285B2

#5285B2 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 60.0% C 0.088 H 246.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5285B2
RGBrgb(82, 133, 178)
HSLhsl(208, 38%, 51%)
HSVhsv(208, 54%, 70%)
CMYKcmyk(53.9%, 25.3%, 0%, 30.2%)
CIE-LABlab(53.79, -3.94, -28.93)
CIE-LCHlch(53.79, 29.20, 262.25°)
OKLaboklab(59.97% -0.0352 -0.081)
OKLCHoklch(59.97% 0.088 246.5)
XYZxyz(19.9002, 21.7816, 45.2664)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285B2 #B27F52
analogous
#52B2AF #5285B2 #5255B2
triadic
#5285B2 #B25285 #85B252
tetradic
#5285B2 #AF52B2 #B27F52 #55B252
square
#5285B2 #AF52B2 #B27F52 #55B252
split-complementary
#5285B2 #B25255 #B2AF52
monochromatic
#2A465F #3D668A #5285B2 #7CA3C5 #A7C1D8

Accessibility & contrast

On white

3.92
#5285B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5285B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285B2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285B2#FFFFFF#000000##000000
##5285B21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#179094
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5285b2;
/* rgb */ color: rgb(82, 133, 178);
/* oklch */ color: oklch(60.0% 0.088 246.5);
Tailwind
colors: {
  custom: {
    50: '#89a8c9',
    500: '#5285b2',
    950: '#000000',
  },
}
SCSS
$custom: #5285b2;
$custom-light: #89a8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5285b2",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 178
  },
  "hsl": {
    "h": 208.125,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.08829,
    "h": 246.5
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#5285B2
secondary
#C5AF9B
accent
#9059CE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5285B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5285B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva