#525FCD#525FCD

#525FCD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.169 H 274.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#525FCD
RGBrgb(82, 95, 205)
HSLhsl(234, 55%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(60%, 53.7%, 0%, 19.6%)
CIE-LABlab(44.78, 28.24, -58.76)
CIE-LCHlch(44.78, 65.19, 295.67°)
OKLaboklab(53.49% 0.0122 -0.1685)
OKLCHoklch(53.49% 0.169 274.1)
XYZxyz(18.5877, 14.3846, 59.5428)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FCD #CDC052
analogous
#529DCD #525FCD #8352CD
triadic
#525FCD #CD525F #5FCD52
tetradic
#525FCD #CD529D #CDC052 #52CD83
square
#525FCD #CD529D #CDC052 #52CD83
split-complementary
#525FCD #CD8352 #9DCD52
monochromatic
#252F80 #3340AF #525FCD #818BDB #B1B7E8

Accessibility & contrast

On white

5.42
#525FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#525FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FCD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FCD#FFFFFF#000000##FFFFFF
##525FCD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525fcd;
/* rgb */ color: rgb(82, 95, 205);
/* oklch */ color: oklch(53.5% 0.169 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e8cdd',
    500: '#525fcd',
    950: '#000000',
  },
}
SCSS
$custom: #525fcd;
$custom-light: #8e8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#525fcd",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 233.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.16892,
    "h": 274.1
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#525FCD
secondary
#D7D1A4
accent
#CF49DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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