#525FCC#525FCC

#525FCC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.168 H 274.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#525FCC
RGBrgb(82, 95, 204)
HSLhsl(234, 54%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(59.8%, 53.4%, 0%, 20%)
CIE-LABlab(44.71, 27.91, -58.29)
CIE-LCHlch(44.71, 64.63, 295.58°)
OKLaboklab(53.42% 0.0121 -0.1671)
OKLCHoklch(53.42% 0.168 274.2)
XYZxyz(18.4674, 14.3364, 58.9091)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FCC #CCBF52
analogous
#529CCC #525FCC #8252CC
triadic
#525FCC #CC525F #5FCC52
tetradic
#525FCC #CC529C #CCBF52 #52CC82
square
#525FCC #CC529C #CCBF52 #52CC82
split-complementary
#525FCC #CC8252 #9CCC52
monochromatic
#252F7E #3340AE #525FCC #818BDA #B1B6E8

Accessibility & contrast

On white

5.43
#525FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#525FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FCC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FCC#FFFFFF#000000##FFFFFF
##525FCC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525fcc;
/* rgb */ color: rgb(82, 95, 204);
/* oklch */ color: oklch(53.4% 0.168 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e8cdc',
    500: '#525fcc',
    950: '#000000',
  },
}
SCSS
$custom: #525fcc;
$custom-light: #8e8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#525fcc",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 233.607,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.16755,
    "h": 274.2
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#525FCC
secondary
#D6D1A4
accent
#CE4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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