#526AC1#526AC1

#526AC1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.138 H 269.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#526AC1
RGBrgb(82, 106, 193)
HSLhsl(227, 47%, 54%)
HSVhsv(227, 58%, 76%)
CMYKcmyk(57.5%, 45.1%, 0%, 24.3%)
CIE-LABlab(46.91, 17.32, -48.42)
CIE-LCHlch(46.91, 51.43, 289.69°)
OKLaboklab(54.86% -0.0005 -0.138)
OKLCHoklch(54.86% 0.138 269.8)
XYZxyz(18.2561, 15.9508, 52.5585)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526AC1 #C1A952
analogous
#52A2C1 #526AC1 #7252C1
triadic
#526AC1 #C1526A #6AC152
tetradic
#526AC1 #C152A2 #C1A952 #52C172
square
#526AC1 #C152A2 #C1A952 #52C172
split-complementary
#526AC1 #C17252 #A2C152
monochromatic
#283870 #384E9D #526AC1 #7F91D1 #ACB8E1

Accessibility & contrast

On white

5.01
#526AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#526AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526AC1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526AC1#FFFFFF#000000##FFFFFF
##526AC11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C4
Deuteranopia (green-blind)
#336BBF
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #526ac1;
/* rgb */ color: rgb(82, 106, 193);
/* oklch */ color: oklch(54.9% 0.138 269.8);
Tailwind
colors: {
  custom: {
    50: '#8b94d4',
    500: '#526ac1',
    950: '#000000',
  },
}
SCSS
$custom: #526ac1;
$custom-light: #8b94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#526ac1",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 227.027,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.13797,
    "h": 269.8
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#526AC1
secondary
#CFC5A0
accent
#BA51D7
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #526AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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