#525FC5#525FC5

#525FC5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.158 H 274.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#525FC5
RGBrgb(82, 95, 197)
HSLhsl(233, 50%, 55%)
HSVhsv(233, 58%, 77%)
CMYKcmyk(58.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(44.24, 25.57, -55.01)
CIE-LCHlch(44.24, 60.66, 294.93°)
OKLaboklab(52.92% 0.0117 -0.1575)
OKLCHoklch(52.92% 0.158 274.2)
XYZxyz(17.6466, 14.0081, 54.5864)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FC5 #C5B852
analogous
#5299C5 #525FC5 #7E52C5
triadic
#525FC5 #C5525F #5FC552
tetradic
#525FC5 #C55299 #C5B852 #52C57E
square
#525FC5 #C55299 #C5B852 #52C57E
split-complementary
#525FC5 #C57E52 #99C552
monochromatic
#273075 #3743A3 #525FC5 #8089D4 #AEB4E4

Accessibility & contrast

On white

5.52
#525FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#525FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FC5#FFFFFF#000000##FFFFFF
##525FC51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#0764C3
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525fc5;
/* rgb */ color: rgb(82, 95, 197);
/* oklch */ color: oklch(52.9% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd7',
    500: '#525fc5',
    950: '#000000',
  },
}
SCSS
$custom: #525fc5;
$custom-light: #8c8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#525fc5",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 233.217,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.15789,
    "h": 274.2
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#525FC5
secondary
#D2CCA1
accent
#CA4ED9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #525FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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