#5274DF#5274DF

#5274DF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.167 H 267.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5274DF
RGBrgb(82, 116, 223)
HSLhsl(226, 69%, 60%)
HSVhsv(226, 63%, 87%)
CMYKcmyk(63.2%, 48%, 0%, 12.5%)
CIE-LABlab(51.39, 21.27, -58.34)
CIE-LCHlch(51.39, 62.10, 290.03°)
OKLaboklab(58.87% -0.0065 -0.167)
OKLCHoklch(58.87% 0.167 267.8)
XYZxyz(23.0398, 19.6103, 72.3687)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274DF #DFBD52
analogous
#52BADF #5274DF #7752DF
triadic
#5274DF #DF5274 #74DF52
tetradic
#5274DF #DF52BA #DFBD52 #52DF77
square
#5274DF #DF52BA #DFBD52 #52DF77
split-complementary
#5274DF #DF7752 #BADF52
monochromatic
#1D3B9A #264ECE #5274DF #869DE9 #B9C7F2

Accessibility & contrast

On white

4.27
#5274DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5274DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274DF#FFFFFF#000000##000000
##5274DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#1E74DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5274df;
/* rgb */ color: rgb(82, 116, 223);
/* oklch */ color: oklch(58.9% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#909bea',
    500: '#5274df',
    950: '#000000',
  },
}
SCSS
$custom: #5274df;
$custom-light: #909bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5274df",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 225.532,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58866,
    "c": 0.16714,
    "h": 267.8
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5274DF

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

Preview Lab → · Contrast checker → · Palette generator →

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