#525BCA#525BCA

#525BCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.170 H 275.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#525BCA
RGBrgb(82, 91, 202)
HSLhsl(236, 53%, 56%)
HSVhsv(236, 59%, 79%)
CMYKcmyk(59.4%, 55%, 0%, 20.8%)
CIE-LABlab(43.56, 29.74, -59.00)
CIE-LCHlch(43.56, 66.07, 296.75°)
OKLaboklab(52.52% 0.016 -0.1692)
OKLCHoklch(52.52% 0.17 275.4)
XYZxyz(17.8780, 13.5389, 57.5368)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BCA #CAC152
analogous
#5297CA #525BCA #8552CA
triadic
#525BCA #CA525B #5BCA52
tetradic
#525BCA #CA5297 #CAC152 #52CA85
square
#525BCA #CA5297 #CAC152 #52CA85
split-complementary
#525BCA #CA8552 #97CA52
monochromatic
#262C7C #343DAB #525BCA #8187D8 #B0B4E7

Accessibility & contrast

On white

5.66
#525BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#525BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BCA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BCA#FFFFFF#000000##FFFFFF
##525BCA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066CCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #525bca;
/* rgb */ color: rgb(82, 91, 202);
/* oklch */ color: oklch(52.5% 0.170 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d89db',
    500: '#525bca',
    950: '#000000',
  },
}
SCSS
$custom: #525bca;
$custom-light: #8d89db;
$custom-dark: #000000;
JSON
{
  "hex": "#525bca",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 235.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.16997,
    "h": 275.4
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#525BCA
secondary
#D5D1A3
accent
#D24BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #525BCA

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

Preview Lab → · Contrast checker → · Palette generator →

#525BCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva