#5245FF#5245FF

#5245FF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.6% C 0.261 H 276.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5245FF
RGBrgb(82, 69, 255)
HSLhsl(244, 100%, 64%)
HSVhsv(244, 73%, 100%)
CMYKcmyk(67.8%, 72.9%, 0%, 0%)
CIE-LABlab(43.16, 59.48, -89.71)
CIE-LCHlch(43.16, 107.63, 303.54°)
OKLaboklab(53.57% 0.0276 -0.2593)
OKLCHoklch(53.57% 0.261 276.1)
XYZxyz(23.6519, 13.2679, 95.9029)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5245FF #F2FF45
analogous
#4595FF #5245FF #AF45FF
triadic
#5245FF #FF5245 #45FF52
tetradic
#5245FF #FF4595 #F2FF45 #45FFAF
square
#5245FF #FF4595 #F2FF45 #45FFAF
split-complementary
#5245FF #FFAF45 #95FF45
monochromatic
#0E00CA #1908FF #5245FF #8B82FF #C4BFFF

Accessibility & contrast

On white

5.75
#5245FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5245FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5245FF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5245FF#FFFFFF#000000##FFFFFF
##5245FF1.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)
#006EFF
Deuteranopia (green-blind)
#005EFC
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5245ff;
/* rgb */ color: rgb(82, 69, 255);
/* oklch */ color: oklch(53.6% 0.261 276.1);
Tailwind
colors: {
  custom: {
    50: '#997bff',
    500: '#5245ff',
    950: '#000000',
  },
}
SCSS
$custom: #5245ff;
$custom-light: #997bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5245ff",
  "rgb": {
    "r": 82,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 244.194,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.26074,
    "h": 276.1
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#5245FF
secondary
#ECF1AF
accent
#E600D5
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5245FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5245FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva