#526CD4#526CD4

#526CD4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.162 H 270.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#526CD4
RGBrgb(82, 108, 212)
HSLhsl(228, 60%, 58%)
HSVhsv(228, 61%, 83%)
CMYKcmyk(61.3%, 49.1%, 0%, 16.9%)
CIE-LABlab(48.60, 22.49, -56.61)
CIE-LCHlch(48.60, 60.91, 291.66°)
OKLaboklab(56.52% 0 -0.162)
OKLCHoklch(56.52% 0.162 270)
XYZxyz(20.7219, 17.2707, 64.5162)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526CD4 #D4BA52
analogous
#52ADD4 #526CD4 #7952D4
triadic
#526CD4 #D4526C #6CD452
tetradic
#526CD4 #D452AD #D4BA52 #52D479
square
#526CD4 #D452AD #D4BA52 #52D479
split-complementary
#526CD4 #D47952 #ADD452
monochromatic
#223789 #2E4ABA #526CD4 #8396E0 #B4BFEC

Accessibility & contrast

On white

4.71
#526CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#526CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526CD4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526CD4#FFFFFF#000000##FFFFFF
##526CD41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D8
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #526cd4;
/* rgb */ color: rgb(82, 108, 212);
/* oklch */ color: oklch(56.5% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#8e95e2',
    500: '#526cd4',
    950: '#000000',
  },
}
SCSS
$custom: #526cd4;
$custom-light: #8e95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#526cd4",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 228,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.162,
    "h": 270
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#526CD4
secondary
#DBD1A7
accent
#C444E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #526CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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