#5275E9#5275E9

#5275E9 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.179 H 268.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5275E9
RGBrgb(82, 117, 233)
HSLhsl(226, 77%, 62%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.8%, 49.8%, 0%, 8.6%)
CIE-LABlab(52.28, 24.07, -62.53)
CIE-LCHlch(52.28, 67.00, 291.06°)
OKLaboklab(59.74% -0.0063 -0.1793)
OKLCHoklch(59.74% 0.179 268)
XYZxyz(24.5439, 20.3973, 79.7186)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275E9 #E9C652
analogous
#52C0E9 #5275E9 #7B52E9
triadic
#5275E9 #E95275 #75E952
tetradic
#5275E9 #E952C0 #E9C652 #52E97B
square
#5275E9 #E952C0 #E9C652 #52E97B
split-complementary
#5275E9 #E97B52 #C0E952
monochromatic
#1638AB #1D4AE1 #5275E9 #88A0F0 #BFCCF7

Accessibility & contrast

On white

4.13
#5275E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5275E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275E9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275E9#FFFFFF#000000##000000
##5275E91.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5275e9;
/* rgb */ color: rgb(82, 117, 233);
/* oklch */ color: oklch(59.7% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#919cf1',
    500: '#5275e9',
    950: '#000000',
  },
}
SCSS
$custom: #5275e9;
$custom-light: #919cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5275e9",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 233
  },
  "hsl": {
    "h": 226.093,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.17942,
    "h": 268
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#5275E9
secondary
#E7DAAF
accent
#AA0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5275E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5275E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva