#526399#526399

#526399 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.0% C 0.089 H 269.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#526399
RGBrgb(82, 99, 153)
HSLhsl(226, 30%, 46%)
HSVhsv(226, 46%, 60%)
CMYKcmyk(46.4%, 35.3%, 0%, 40%)
CIE-LABlab(42.79, 8.69, -31.50)
CIE-LCHlch(42.79, 32.68, 285.43°)
OKLaboklab(50.99% -0.0003 -0.0886)
OKLCHoklch(50.99% 0.089 269.8)
XYZxyz(13.6895, 13.0166, 31.9219)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526399 #998852
analogous
#528699 #526399 #645299
triadic
#526399 #995263 #639952
tetradic
#526399 #995286 #998852 #529964
square
#526399 #995286 #998852 #529964
split-complementary
#526399 #996452 #869952
monochromatic
#272F49 #3D4971 #526399 #7483B4 #9CA7CA

Accessibility & contrast

On white

5.83
#526399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#526399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526399
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526399#FFFFFF#000000##FFFFFF
##5263991.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#386E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526399;
/* rgb */ color: rgb(82, 99, 153);
/* oklch */ color: oklch(51.0% 0.089 269.8);
Tailwind
colors: {
  custom: {
    50: '#868fb7',
    500: '#526399',
    950: '#000000',
  },
}
SCSS
$custom: #526399;
$custom-light: #868fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#526399",
  "rgb": {
    "r": 82,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 225.634,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.08857,
    "h": 269.8
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#526399
secondary
#B7AD90
accent
#AE61C6
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #526399

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

Preview Lab → · Contrast checker → · Palette generator →

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