#525FC7#525FC7

#525FC7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.161 H 274.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#525FC7
RGBrgb(82, 95, 199)
HSLhsl(233, 51%, 55%)
HSVhsv(233, 59%, 78%)
CMYKcmyk(58.8%, 52.3%, 0%, 22%)
CIE-LABlab(44.38, 26.23, -55.95)
CIE-LCHlch(44.38, 61.80, 295.12°)
OKLaboklab(53.06% 0.0118 -0.1602)
OKLCHoklch(53.06% 0.161 274.2)
XYZxyz(17.8773, 14.1004, 55.8013)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FC7 #C7BA52
analogous
#529AC7 #525FC7 #7F52C7
triadic
#525FC7 #C7525F #5FC752
tetradic
#525FC7 #C7529A #C7BA52 #52C77F
square
#525FC7 #C7529A #C7BA52 #52C77F
split-complementary
#525FC7 #C77F52 #9AC752
monochromatic
#273078 #3642A6 #525FC7 #808AD6 #AEB5E5

Accessibility & contrast

On white

5.50
#525FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#525FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FC7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FC7#FFFFFF#000000##FFFFFF
##525FC71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525fc7;
/* rgb */ color: rgb(82, 95, 199);
/* oklch */ color: oklch(53.1% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d8cd9',
    500: '#525fc7',
    950: '#000000',
  },
}
SCSS
$custom: #525fc7;
$custom-light: #8d8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#525fc7",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 233.333,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.16066,
    "h": 274.2
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#525FC7
secondary
#D3CDA2
accent
#CB4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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