#526BB7#526BB7

#526BB7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.5% C 0.122 H 268.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#526BB7
RGBrgb(82, 107, 183)
HSLhsl(225, 41%, 52%)
HSVhsv(225, 55%, 72%)
CMYKcmyk(55.2%, 41.5%, 0%, 28.2%)
CIE-LABlab(46.61, 13.37, -43.10)
CIE-LCHlch(46.61, 45.13, 287.24°)
OKLaboklab(54.45% -0.0034 -0.1224)
OKLCHoklch(54.45% 0.122 268.4)
XYZxyz(17.2818, 15.7269, 46.9155)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BB7 #B79E52
analogous
#529DB7 #526BB7 #6C52B7
triadic
#526BB7 #B7526B #6BB752
tetradic
#526BB7 #B7529D #B79E52 #52B76C
square
#526BB7 #B7529D #B79E52 #52B76C
split-complementary
#526BB7 #B76C52 #9DB752
monochromatic
#2A3865 #3C5190 #526BB7 #7D90C9 #A8B5DB

Accessibility & contrast

On white

5.07
#526BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#526BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BB7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BB7#FFFFFF#000000##FFFFFF
##526BB71.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#3F6AB5
Tritanopia (blue-blind)
#197C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #526bb7;
/* rgb */ color: rgb(82, 107, 183);
/* oklch */ color: oklch(54.5% 0.122 268.4);
Tailwind
colors: {
  custom: {
    50: '#8a95cd',
    500: '#526bb7',
    950: '#000000',
  },
}
SCSS
$custom: #526bb7;
$custom-light: #8a95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#526bb7",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 225.149,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.12241,
    "h": 268.4
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#526BB7
secondary
#C9BE9C
accent
#B357D1
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526BB7

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

Preview Lab → · Contrast checker → · Palette generator →

#526BB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva