#5286CF#5286CF

#5286CF is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.125 H 257.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5286CF
RGBrgb(82, 134, 207)
HSLhsl(215, 57%, 57%)
HSVhsv(215, 60%, 81%)
CMYKcmyk(60.4%, 35.3%, 0%, 18.8%)
CIE-LABlab(55.43, 4.88, -42.89)
CIE-LCHlch(55.43, 43.16, 276.50°)
OKLaboklab(61.69% -0.0278 -0.1214)
OKLCHoklch(61.69% 0.125 257.1)
XYZxyz(23.2633, 23.3469, 62.2999)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286CF #CF9B52
analogous
#52C5CF #5286CF #5D52CF
triadic
#5286CF #CF5286 #86CF52
tetradic
#5286CF #CF52C5 #CF9B52 #52CF5D
square
#5286CF #CF52C5 #CF9B52 #52CF5D
split-complementary
#5286CF #CF5D52 #C5CF52
monochromatic
#244B82 #3167B2 #5286CF #82A8DC #B2C9EA

Accessibility & contrast

On white

3.70
#5286CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5286CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286CF#FFFFFF#000000##000000
##5286CF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5286cf;
/* rgb */ color: rgb(82, 134, 207);
/* oklch */ color: oklch(61.7% 0.125 257.1);
Tailwind
colors: {
  custom: {
    50: '#8da8de',
    500: '#5286cf',
    950: '#000000',
  },
}
SCSS
$custom: #5286cf;
$custom-light: #8da8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5286cf",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 215.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.1246,
    "h": 257.1
  },
  "luminance": 0.23349
}

Semantic roles & 50–950 ramp

primary
#5286CF
secondary
#D8C3A5
accent
#A148E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5286CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5286CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva