#525ECF#525ECF

#525ECF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.173 H 274.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#525ECF
RGBrgb(82, 94, 207)
HSLhsl(234, 57%, 57%)
HSVhsv(234, 60%, 81%)
CMYKcmyk(60.4%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.66, 29.54, -60.09)
CIE-LCHlch(44.66, 66.96, 296.17°)
OKLaboklab(53.45% 0.0133 -0.1724)
OKLCHoklch(53.45% 0.173 274.4)
XYZxyz(18.7412, 14.3028, 60.7925)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525ECF #CFC352
analogous
#529DCF #525ECF #8552CF
triadic
#525ECF #CF525E #5ECF52
tetradic
#525ECF #CF529D #CFC352 #52CF85
square
#525ECF #CF529D #CFC352 #52CF85
split-complementary
#525ECF #CF8552 #9DCF52
monochromatic
#242D82 #313EB2 #525ECF #828BDC #B2B7EA

Accessibility & contrast

On white

5.44
#525ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#525ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525ECF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525ECF#FFFFFF#000000##FFFFFF
##525ECF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525ecf;
/* rgb */ color: rgb(82, 94, 207);
/* oklch */ color: oklch(53.4% 0.173 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e8bde',
    500: '#525ecf',
    950: '#000000',
  },
}
SCSS
$custom: #525ecf;
$custom-light: #8e8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#525ecf",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 234.24,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.17293,
    "h": 274.4
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#525ECF
secondary
#D8D3A5
accent
#D148E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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