#525ECB#525ECB

#525ECB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.167 H 274.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#525ECB
RGBrgb(82, 94, 203)
HSLhsl(234, 54%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(59.6%, 53.7%, 0%, 20.4%)
CIE-LABlab(44.39, 28.20, -58.24)
CIE-LCHlch(44.39, 64.71, 295.84°)
OKLaboklab(53.16% 0.0131 -0.167)
OKLCHoklch(53.16% 0.167 274.5)
XYZxyz(18.2583, 14.1096, 58.2496)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ECB #CBBF52
analogous
#529ACB #525ECB #8252CB
triadic
#525ECB #CB525E #5ECB52
tetradic
#525ECB #CB529A #CBBF52 #52CB82
square
#525ECB #CB529A #CBBF52 #52CB82
split-complementary
#525ECB #CB8252 #9ACB52
monochromatic
#262E7D #3440AC #525ECB #818AD9 #B0B6E7

Accessibility & contrast

On white

5.49
#525ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#525ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ECB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ECB#FFFFFF#000000##FFFFFF
##525ECB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #525ecb;
/* rgb */ color: rgb(82, 94, 203);
/* oklch */ color: oklch(53.2% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d8bdc',
    500: '#525ecb',
    950: '#000000',
  },
}
SCSS
$custom: #525ecb;
$custom-light: #8d8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#525ecb",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 234.05,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.16747,
    "h": 274.5
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#525ECB
secondary
#D5D0A3
accent
#CF4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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