#5279BB#5279BB

#5279BB is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.111 H 260.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5279BB
RGBrgb(82, 121, 187)
HSLhsl(218, 44%, 53%)
HSVhsv(218, 56%, 73%)
CMYKcmyk(56.1%, 35.3%, 0%, 26.7%)
CIE-LABlab(50.75, 6.08, -38.87)
CIE-LCHlch(50.75, 39.34, 278.89°)
OKLaboklab(57.72% -0.0185 -0.1098)
OKLCHoklch(57.72% 0.111 260.4)
XYZxyz(19.2836, 19.0549, 49.6658)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5279BB #BB9452
analogous
#52ADBB #5279BB #5F52BB
triadic
#5279BB #BB5279 #79BB52
tetradic
#5279BB #BB52AD #BB9452 #52BB5F
square
#5279BB #BB52AD #BB9452 #52BB5F
split-complementary
#5279BB #BB5F52 #ADBB52
monochromatic
#294169 #3B5C95 #5279BB #7E9BCC #AABDDE

Accessibility & contrast

On white

4.36
#5279BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5279BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5279BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5279BB#FFFFFF#000000##000000
##5279BB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#088891
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5279bb;
/* rgb */ color: rgb(82, 121, 187);
/* oklch */ color: oklch(57.7% 0.111 260.4);
Tailwind
colors: {
  custom: {
    50: '#8a9fd0',
    500: '#5279bb',
    950: '#000000',
  },
}
SCSS
$custom: #5279bb;
$custom-light: #8a9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5279bb",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 217.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.1114,
    "h": 260.4
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#5279BB
secondary
#CBBA9E
accent
#A454D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5279BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5279BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva