#5285BF#5285BF

#5285BF is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.6% C 0.105 H 252.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5285BF
RGBrgb(82, 133, 191)
HSLhsl(212, 46%, 54%)
HSVhsv(212, 57%, 75%)
CMYKcmyk(57.1%, 30.4%, 0%, 25.1%)
CIE-LABlab(54.37, 0.21, -35.47)
CIE-LCHlch(54.37, 35.47, 270.35°)
OKLaboklab(60.61% -0.0311 -0.0999)
OKLCHoklch(60.61% 0.105 252.7)
XYZxyz(21.2678, 22.3287, 52.4692)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5285BF #BF8C52
analogous
#52BBBF #5285BF #5552BF
triadic
#5285BF #BF5285 #85BF52
tetradic
#5285BF #BF52BB #BF8C52 #52BF55
square
#5285BF #BF52BB #BF8C52 #52BF55
split-complementary
#5285BF #BF5552 #BBBF52
monochromatic
#29496E #39679B #5285BF #7FA5D0 #ABC4E0

Accessibility & contrast

On white

3.84
#5285BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5285BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5285BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5285BF#FFFFFF#000000##000000
##5285BF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#5F7DBE
Tritanopia (blue-blind)
#00929A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5285bf;
/* rgb */ color: rgb(82, 133, 191);
/* oklch */ color: oklch(60.6% 0.105 252.7);
Tailwind
colors: {
  custom: {
    50: '#8ba8d2',
    500: '#5285bf',
    950: '#000000',
  },
}
SCSS
$custom: #5285bf;
$custom-light: #8ba8d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5285bf",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 191
  },
  "hsl": {
    "h": 211.927,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.1046,
    "h": 252.7
  },
  "luminance": 0.2233
}

Semantic roles & 50–950 ramp

primary
#5285BF
secondary
#CEB89F
accent
#9852D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5285BF

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

Preview Lab → · Contrast checker → · Palette generator →

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