#525FC4#525FC4

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

Color values

HEX#525FC4
RGBrgb(82, 95, 196)
HSLhsl(233, 49%, 55%)
HSVhsv(233, 58%, 77%)
CMYKcmyk(58.2%, 51.5%, 0%, 23.1%)
CIE-LABlab(44.18, 25.23, -54.54)
CIE-LCHlch(44.18, 60.09, 294.83°)
OKLaboklab(52.85% 0.0116 -0.1561)
OKLCHoklch(52.85% 0.157 274.2)
XYZxyz(17.5324, 13.9625, 53.9850)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FC4 #C4B752
analogous
#5298C4 #525FC4 #7E52C4
triadic
#525FC4 #C4525F #5FC452
tetradic
#525FC4 #C45298 #C4B752 #52C47E
square
#525FC4 #C45298 #C4B752 #52C47E
split-complementary
#525FC4 #C47E52 #98C452
monochromatic
#283074 #3743A2 #525FC4 #8089D4 #ADB3E3

Accessibility & contrast

On white

5.54
#525FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#525FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FC4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FC4#FFFFFF#000000##FFFFFF
##525FC41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276DC8
Deuteranopia (green-blind)
#0C64C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #525fc4;
/* rgb */ color: rgb(82, 95, 196);
/* oklch */ color: oklch(52.8% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd6',
    500: '#525fc4',
    950: '#000000',
  },
}
SCSS
$custom: #525fc4;
$custom-light: #8c8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#525fc4",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 233.158,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.1565,
    "h": 274.2
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#525FC4
secondary
#D1CCA1
accent
#C94FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #525FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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