#5277BE#5277BE

#5277BE is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.4% C 0.118 H 262.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5277BE
RGBrgb(82, 119, 190)
HSLhsl(219, 45%, 53%)
HSVhsv(219, 57%, 75%)
CMYKcmyk(56.8%, 37.4%, 0%, 25.5%)
CIE-LABlab(50.34, 8.28, -41.24)
CIE-LCHlch(50.34, 42.07, 281.36°)
OKLaboklab(57.45% -0.0155 -0.1168)
OKLCHoklch(57.45% 0.118 262.4)
XYZxyz(19.3676, 18.7036, 51.2948)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277BE #BE9952
analogous
#52ADBE #5277BE #6352BE
triadic
#5277BE #BE5277 #77BE52
tetradic
#5277BE #BE52AD #BE9952 #52BE63
square
#5277BE #BE52AD #BE9952 #52BE63
split-complementary
#5277BE #BE6352 #ADBE52
monochromatic
#29406D #3A5A99 #5277BE #7E9ACF #ABBDDF

Accessibility & contrast

On white

4.43
#5277BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5277BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277BE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277BE#FFFFFF#000000##000000
##5277BE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5277be;
/* rgb */ color: rgb(82, 119, 190);
/* oklch */ color: oklch(57.4% 0.118 262.4);
Tailwind
colors: {
  custom: {
    50: '#8b9dd2',
    500: '#5277be',
    950: '#000000',
  },
}
SCSS
$custom: #5277be;
$custom-light: #8b9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5277be",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 219.444,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.11783,
    "h": 262.4
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#5277BE
secondary
#CDBD9F
accent
#A853D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5277BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5277BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva