#526ED7#526ED7

#526ED7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.164 H 269.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#526ED7
RGBrgb(82, 110, 215)
HSLhsl(227, 62%, 58%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(61.9%, 48.8%, 0%, 15.7%)
CIE-LABlab(49.31, 22.26, -57.16)
CIE-LCHlch(49.31, 61.34, 291.28°)
OKLaboklab(57.12% -0.0017 -0.1636)
OKLCHoklch(57.12% 0.164 269.4)
XYZxyz(21.3172, 17.8502, 66.5989)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526ED7 #D7BB52
analogous
#52B1D7 #526ED7 #7852D7
triadic
#526ED7 #D7526E #6ED752
tetradic
#526ED7 #D752B1 #D7BB52 #52D778
square
#526ED7 #D752B1 #D7BB52 #52D778
split-complementary
#526ED7 #D77852 #B1D752
monochromatic
#21388E #2C4BC0 #526ED7 #8498E2 #B5C1EE

Accessibility & contrast

On white

4.59
#526ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#526ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #526ED7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526ED7#FFFFFF#000000##FFFFFF
##526ED71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377BDB
Deuteranopia (green-blind)
#1A70D5
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #526ed7;
/* rgb */ color: rgb(82, 110, 215);
/* oklch */ color: oklch(57.1% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f97e4',
    500: '#526ed7',
    950: '#000000',
  },
}
SCSS
$custom: #526ed7;
$custom-light: #8f97e4;
$custom-dark: #000000;
JSON
{
  "hex": "#526ed7",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 215
  },
  "hsl": {
    "h": 227.368,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.16362,
    "h": 269.4
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#526ED7
secondary
#DDD2A8
accent
#C342E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #526ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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