#5274DD#5274DD

#5274DD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.164 H 267.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5274DD
RGBrgb(82, 116, 221)
HSLhsl(225, 67%, 59%)
HSVhsv(225, 63%, 87%)
CMYKcmyk(62.9%, 47.5%, 0%, 13.3%)
CIE-LABlab(51.27, 20.58, -57.41)
CIE-LCHlch(51.27, 60.99, 289.72°)
OKLaboklab(58.73% -0.0068 -0.1643)
OKLCHoklch(58.73% 0.164 267.6)
XYZxyz(22.7718, 19.5031, 70.9570)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274DD #DDBB52
analogous
#52B9DD #5274DD #7652DD
triadic
#5274DD #DD5274 #74DD52
tetradic
#5274DD #DD52B9 #DDBB52 #52DD76
square
#5274DD #DD52B9 #DDBB52 #52DD76
split-complementary
#5274DD #DD7652 #B9DD52
monochromatic
#1E3B97 #284FCA #5274DD #859DE7 #B8C6F1

Accessibility & contrast

On white

4.28
#5274DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5274DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274DD#FFFFFF#000000##000000
##5274DD1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#2374DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5274dd;
/* rgb */ color: rgb(82, 116, 221);
/* oklch */ color: oklch(58.7% 0.164 267.6);
Tailwind
colors: {
  custom: {
    50: '#8f9be8',
    500: '#5274dd',
    950: '#000000',
  },
}
SCSS
$custom: #5274dd;
$custom-light: #8f9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5274dd",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 225.324,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.16441,
    "h": 267.6
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#5274DD
secondary
#E0D3AA
accent
#C03EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5274DD

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

Preview Lab → · Contrast checker → · Palette generator →

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