#525EF3#525EF3

#525EF3 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.220 H 273.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#525EF3
RGBrgb(82, 94, 243)
HSLhsl(236, 87%, 64%)
HSVhsv(236, 66%, 95%)
CMYKcmyk(66.3%, 61.3%, 0%, 4.7%)
CIE-LABlab(47.32, 41.56, -76.17)
CIE-LCHlch(47.32, 86.77, 298.61°)
OKLaboklab(56.26% 0.0132 -0.2197)
OKLCHoklch(56.26% 0.22 273.4)
XYZxyz(23.6546, 16.2681, 86.6701)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525EF3 #F3E752
analogous
#52AEF3 #525EF3 #9652F3
triadic
#525EF3 #F3525E #5EF352
tetradic
#525EF3 #F352AE #F3E752 #52F396
square
#525EF3 #F352AE #F3E752 #52F396
split-complementary
#525EF3 #F39652 #AEF352
monochromatic
#0D1ABD #1929EF #525EF3 #8B93F7 #C4C9FB

Accessibility & contrast

On white

4.94
#525EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#525EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525EF3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525EF3#FFFFFF#000000##FFFFFF
##525EF31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #525ef3;
/* rgb */ color: rgb(82, 94, 243);
/* oklch */ color: oklch(56.3% 0.220 273.4);
Tailwind
colors: {
  custom: {
    50: '#948cf8',
    500: '#525ef3',
    950: '#000000',
  },
}
SCSS
$custom: #525ef3;
$custom-light: #948cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#525ef3",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 235.528,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56258,
    "c": 0.22007,
    "h": 273.4
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#525EF3
secondary
#EDE9B4
accent
#D302E4
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #525EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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