#525FA2#525FA2

#525FA2 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.107 H 273.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#525FA2
RGBrgb(82, 95, 162)
HSLhsl(230, 33%, 48%)
HSVhsv(230, 49%, 64%)
CMYKcmyk(49.4%, 41.4%, 0%, 36.5%)
CIE-LABlab(42.13, 14.06, -37.89)
CIE-LCHlch(42.13, 40.41, 290.36°)
OKLaboklab(50.63% 0.0069 -0.1072)
OKLCHoklch(50.63% 0.107 273.7)
XYZxyz(14.0914, 12.5861, 35.8622)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FA2 #A29552
analogous
#5287A2 #525FA2 #6D52A2
triadic
#525FA2 #A2525F #5FA252
tetradic
#525FA2 #A25287 #A29552 #52A26D
square
#525FA2 #A25287 #A29552 #52A26D
split-complementary
#525FA2 #A26D52 #87A252
monochromatic
#292F51 #3D4779 #525FA2 #7782BA #A0A7CF

Accessibility & contrast

On white

5.97
#525FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#525FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FA2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FA2#FFFFFF#000000##FFFFFF
##525FA21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#336D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525fa2;
/* rgb */ color: rgb(82, 95, 162);
/* oklch */ color: oklch(50.6% 0.107 273.7);
Tailwind
colors: {
  custom: {
    50: '#878cbe',
    500: '#525fa2',
    950: '#000000',
  },
}
SCSS
$custom: #525fa2;
$custom-light: #878cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#525fa2",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 230.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.10742,
    "h": 273.7
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#525FA2
secondary
#BCB594
accent
#B85FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #525FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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