#5273DF#5273DF

#5273DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.168 H 268.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5273DF
RGBrgb(82, 115, 223)
HSLhsl(226, 69%, 60%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(63.2%, 48.4%, 0%, 12.5%)
CIE-LABlab(51.13, 21.89, -58.77)
CIE-LCHlch(51.13, 62.71, 290.43°)
OKLaboklab(58.67% -0.0055 -0.1683)
OKLCHoklch(58.67% 0.168 268.1)
XYZxyz(22.9251, 19.3810, 72.3305)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273DF #DFBE52
analogous
#52BADF #5273DF #7752DF
triadic
#5273DF #DF5273 #73DF52
tetradic
#5273DF #DF52BA #DFBE52 #52DF77
square
#5273DF #DF52BA #DFBE52 #52DF77
split-complementary
#5273DF #DF7752 #BADF52
monochromatic
#1D3A9A #264DCE #5273DF #869DE9 #B9C7F2

Accessibility & contrast

On white

4.31
#5273DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5273DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5273DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273DF#FFFFFF#000000##000000
##5273DF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E3
Deuteranopia (green-blind)
#1A74DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5273df;
/* rgb */ color: rgb(82, 115, 223);
/* oklch */ color: oklch(58.7% 0.168 268.1);
Tailwind
colors: {
  custom: {
    50: '#909aea',
    500: '#5273df',
    950: '#000000',
  },
}
SCSS
$custom: #5273df;
$custom-light: #909aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5273df",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 225.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.16836,
    "h": 268.1
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#5273DF
secondary
#E2D5AB
accent
#C33CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5273DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5273DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva