#5287BF#5287BF

#5287BF is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.103 H 251.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5287BF
RGBrgb(82, 135, 191)
HSLhsl(211, 46%, 54%)
HSVhsv(211, 57%, 75%)
CMYKcmyk(57.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.95, -0.96, -34.56)
CIE-LCHlch(54.95, 34.58, 268.41°)
OKLaboklab(61.06% -0.0334 -0.0972)
OKLCHoklch(61.06% 0.103 251.1)
XYZxyz(21.5443, 22.8815, 52.5614)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287BF #BF8A52
analogous
#52BDBF #5287BF #5352BF
triadic
#5287BF #BF5287 #87BF52
tetradic
#5287BF #BF52BD #BF8A52 #52BF53
square
#5287BF #BF52BD #BF8A52 #52BF53
split-complementary
#5287BF #BF5352 #BDBF52
monochromatic
#294A6E #39699B #5287BF #7FA6D0 #ABC5E0

Accessibility & contrast

On white

3.77
#5287BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5287BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287BF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287BF#FFFFFF#000000##000000
##5287BF1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C1
Deuteranopia (green-blind)
#617FBE
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5287bf;
/* rgb */ color: rgb(82, 135, 191);
/* oklch */ color: oklch(61.1% 0.103 251.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9d2',
    500: '#5287bf',
    950: '#000000',
  },
}
SCSS
$custom: #5287bf;
$custom-light: #8ba9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5287bf",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 210.826,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.10281,
    "h": 251.1
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#5287BF
secondary
#CEB79F
accent
#9652D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5287BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5287BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva