#525FCF#525FCF

#525FCF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.172 H 274.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#525FCF
RGBrgb(82, 95, 207)
HSLhsl(234, 57%, 57%)
HSVhsv(234, 60%, 81%)
CMYKcmyk(60.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.92, 28.91, -59.69)
CIE-LCHlch(44.92, 66.32, 295.85°)
OKLaboklab(53.64% 0.0123 -0.1712)
OKLCHoklch(53.64% 0.172 274.1)
XYZxyz(18.8307, 14.4818, 60.8223)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FCF #CFC252
analogous
#529ECF #525FCF #8452CF
triadic
#525FCF #CF525F #5FCF52
tetradic
#525FCF #CF529E #CFC252 #52CF84
square
#525FCF #CF529E #CFC252 #52CF84
split-complementary
#525FCF #CF8452 #9ECF52
monochromatic
#242E82 #313FB2 #525FCF #828BDC #B2B8EA

Accessibility & contrast

On white

5.39
#525FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#525FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FCF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FCF#FFFFFF#000000##FFFFFF
##525FCF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1170D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525fcf;
/* rgb */ color: rgb(82, 95, 207);
/* oklch */ color: oklch(53.6% 0.172 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e8cde',
    500: '#525fcf',
    950: '#000000',
  },
}
SCSS
$custom: #525fcf;
$custom-light: #8e8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#525fcf",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 233.76,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.17165,
    "h": 274.1
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #525FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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