#525FAC#525FAC

#525FAC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.122 H 274.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#525FAC
RGBrgb(82, 95, 172)
HSLhsl(231, 35%, 50%)
HSVhsv(231, 52%, 67%)
CMYKcmyk(52.3%, 44.8%, 0%, 32.5%)
CIE-LABlab(42.70, 17.29, -42.91)
CIE-LCHlch(42.70, 46.26, 291.95°)
OKLaboklab(51.25% 0.0087 -0.1219)
OKLCHoklch(51.25% 0.122 274.1)
XYZxyz(15.0159, 12.9559, 40.7312)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FAC #AC9F52
analogous
#528CAC #525FAC #7252AC
triadic
#525FAC #AC525F #5FAC52
tetradic
#525FAC #AC528C #AC9F52 #52AC72
square
#525FAC #AC528C #AC9F52 #52AC72
split-complementary
#525FAC #AC7252 #8CAC52
monochromatic
#2A3159 #3E4883 #525FAC #7B85C0 #A5ABD4

Accessibility & contrast

On white

5.85
#525FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#525FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FAC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FAC#FFFFFF#000000##FFFFFF
##525FAC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#3561AA
Tritanopia (blue-blind)
#2A707D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #525fac;
/* rgb */ color: rgb(82, 95, 172);
/* oklch */ color: oklch(51.2% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#898cc5',
    500: '#525fac',
    950: '#000000',
  },
}
SCSS
$custom: #525fac;
$custom-light: #898cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#525fac",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 231.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.1222,
    "h": 274.1
  },
  "luminance": 0.12957
}

Semantic roles & 50–950 ramp

primary
#525FAC
secondary
#C1BB99
accent
#BB5CCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #525FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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