#525ABC#525ABC

#525ABC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.152 H 276.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#525ABC
RGBrgb(82, 90, 188)
HSLhsl(235, 44%, 53%)
HSVhsv(235, 56%, 74%)
CMYKcmyk(56.4%, 52.1%, 0%, 26.3%)
CIE-LABlab(42.36, 25.72, -52.82)
CIE-LCHlch(42.36, 58.75, 295.96°)
OKLaboklab(51.32% 0.0162 -0.1511)
OKLCHoklch(51.32% 0.152 276.1)
XYZxyz(16.2100, 12.7359, 49.1713)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ABC #BCB452
analogous
#528FBC #525ABC #7F52BC
triadic
#525ABC #BC525A #5ABC52
tetradic
#525ABC #BC528F #BCB452 #52BC7F
square
#525ABC #BC528F #BCB452 #52BC7F
split-complementary
#525ABC #BC7F52 #8FBC52
monochromatic
#292E6A #3A4197 #525ABC #7E84CD #AAAEDE

Accessibility & contrast

On white

5.92
#525ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#525ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ABC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ABC#FFFFFF#000000##FFFFFF
##525ABC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#0E60BA
Tritanopia (blue-blind)
#167082
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525abc;
/* rgb */ color: rgb(82, 90, 188);
/* oklch */ color: oklch(51.3% 0.152 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b88d1',
    500: '#525abc',
    950: '#000000',
  },
}
SCSS
$custom: #525abc;
$custom-light: #8b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#525abc",
  "rgb": {
    "r": 82,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 235.472,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.15193,
    "h": 276.1
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#525ABC
secondary
#CCC89E
accent
#CA54D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #525ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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