#525BC4#525BC4

#525BC4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.162 H 275.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#525BC4
RGBrgb(82, 91, 196)
HSLhsl(235, 49%, 55%)
HSVhsv(235, 58%, 77%)
CMYKcmyk(58.2%, 53.6%, 0%, 23.1%)
CIE-LABlab(43.15, 27.74, -56.19)
CIE-LCHlch(43.15, 62.67, 296.27°)
OKLaboklab(52.08% 0.0157 -0.161)
OKLCHoklch(52.08% 0.162 275.6)
XYZxyz(17.1813, 13.2603, 53.8679)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BC4 #C4BB52
analogous
#5294C4 #525BC4 #8252C4
triadic
#525BC4 #C4525B #5BC452
tetradic
#525BC4 #C45294 #C4BB52 #52C482
square
#525BC4 #C45294 #C4BB52 #52C482
split-complementary
#525BC4 #C48252 #94C452
monochromatic
#282E74 #3740A2 #525BC4 #8086D4 #ADB2E3

Accessibility & contrast

On white

5.75
#525BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#525BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BC4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BC4#FFFFFF#000000##FFFFFF
##525BC41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #525bc4;
/* rgb */ color: rgb(82, 91, 196);
/* oklch */ color: oklch(52.1% 0.162 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c89d7',
    500: '#525bc4',
    950: '#000000',
  },
}
SCSS
$custom: #525bc4;
$custom-light: #8c89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#525bc4",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 235.263,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.16174,
    "h": 275.6
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#525BC4
secondary
#D1CDA1
accent
#CE4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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