#526ED4#526ED4

#526ED4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.159 H 269.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#526ED4
RGBrgb(82, 110, 212)
HSLhsl(227, 60%, 58%)
HSVhsv(227, 61%, 83%)
CMYKcmyk(61.3%, 48.1%, 0%, 16.9%)
CIE-LABlab(49.13, 21.24, -55.76)
CIE-LCHlch(49.13, 59.67, 290.85°)
OKLaboklab(56.92% -0.002 -0.1595)
OKLCHoklch(56.92% 0.159 269.3)
XYZxyz(20.9353, 17.6974, 64.5873)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526ED4 #D4B852
analogous
#52AFD4 #526ED4 #7752D4
triadic
#526ED4 #D4526E #6ED452
tetradic
#526ED4 #D452AF #D4B852 #52D477
square
#526ED4 #D452AF #D4B852 #52D477
split-complementary
#526ED4 #D47752 #AFD452
monochromatic
#223889 #2E4DBA #526ED4 #8397E0 #B4C0EC

Accessibility & contrast

On white

4.63
#526ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#526ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #526ED4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526ED4#FFFFFF#000000##FFFFFF
##526ED41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD8
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #526ed4;
/* rgb */ color: rgb(82, 110, 212);
/* oklch */ color: oklch(56.9% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#8e97e2',
    500: '#526ed4',
    950: '#000000',
  },
}
SCSS
$custom: #526ed4;
$custom-light: #8e97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#526ed4",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 227.077,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.15949,
    "h": 269.3
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#526ED4
secondary
#DBD0A7
accent
#C144E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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