#5274DA#5274DA

#5274DA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.160 H 267.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5274DA
RGBrgb(82, 116, 218)
HSLhsl(225, 65%, 59%)
HSVhsv(225, 62%, 85%)
CMYKcmyk(62.4%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.09, 19.56, -56.01)
CIE-LCHlch(51.09, 59.33, 289.25°)
OKLaboklab(58.54% -0.0072 -0.1601)
OKLCHoklch(58.54% 0.16 267.4)
XYZxyz(22.3756, 19.3446, 68.8708)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274DA #DAB852
analogous
#52B8DA #5274DA #7452DA
triadic
#5274DA #DA5274 #74DA52
tetradic
#5274DA #DA52B8 #DAB852 #52DA74
square
#5274DA #DA52B8 #DAB852 #52DA74
split-complementary
#5274DA #DA7452 #B8DA52
monochromatic
#1F3C92 #2A51C5 #5274DA #849DE5 #B7C5F0

Accessibility & contrast

On white

4.31
#5274DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5274DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274DA#FFFFFF#000000##000000
##5274DA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5274da;
/* rgb */ color: rgb(82, 116, 218);
/* oklch */ color: oklch(58.5% 0.160 267.4);
Tailwind
colors: {
  custom: {
    50: '#8f9be6',
    500: '#5274da',
    950: '#000000',
  },
}
SCSS
$custom: #5274da;
$custom-light: #8f9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5274da",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 225,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58535,
    "c": 0.16031,
    "h": 267.4
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#5274DA
secondary
#DFD1A9
accent
#BE40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5274DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5274DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva