#526698#526698

#526698 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.6% C 0.083 H 266.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#526698
RGBrgb(82, 102, 152)
HSLhsl(223, 30%, 46%)
HSVhsv(223, 46%, 60%)
CMYKcmyk(46.1%, 32.9%, 0%, 40.4%)
CIE-LABlab(43.60, 6.51, -29.64)
CIE-LCHlch(43.60, 30.34, 282.40°)
OKLaboklab(51.6% -0.0045 -0.0831)
OKLCHoklch(51.6% 0.083 266.9)
XYZxyz(13.8967, 13.5628, 31.5853)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526698 #988452
analogous
#528998 #526698 #615298
triadic
#526698 #985266 #669852
tetradic
#526698 #985289 #988452 #529861
square
#526698 #985289 #988452 #529861
split-complementary
#526698 #986152 #899852
monochromatic
#273148 #3D4B70 #526698 #7386B4 #9BA8C9

Accessibility & contrast

On white

5.66
#526698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#526698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526698
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526698#FFFFFF#000000##FFFFFF
##5266981.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#387078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #526698;
/* rgb */ color: rgb(82, 102, 152);
/* oklch */ color: oklch(51.6% 0.083 266.9);
Tailwind
colors: {
  custom: {
    50: '#8691b6',
    500: '#526698',
    950: '#000000',
  },
}
SCSS
$custom: #526698;
$custom-light: #8691b6;
$custom-dark: #000000;
JSON
{
  "hex": "#526698",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 152
  },
  "hsl": {
    "h": 222.857,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.08326,
    "h": 266.9
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#526698
secondary
#B6AB90
accent
#A962C6
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #526698

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

Preview Lab → · Contrast checker → · Palette generator →

#526698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva