#5274AF#5274AF

#5274AF is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.0% C 0.100 H 260.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5274AF
RGBrgb(82, 116, 175)
HSLhsl(218, 37%, 50%)
HSVhsv(218, 53%, 69%)
CMYKcmyk(53.1%, 33.7%, 0%, 31.4%)
CIE-LABlab(48.73, 5.21, -35.11)
CIE-LCHlch(48.73, 35.49, 278.44°)
OKLaboklab(55.96% -0.0158 -0.0989)
OKLCHoklch(55.96% 0.1 260.9)
XYZxyz(17.4603, 17.3785, 42.9834)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274AF #AF8D52
analogous
#52A2AF #5274AF #5F52AF
triadic
#5274AF #AF5274 #74AF52
tetradic
#5274AF #AF52A2 #AF8D52 #52AF5F
square
#5274AF #AF52A2 #AF8D52 #52AF5F
split-complementary
#5274AF #AF5F52 #A2AF52
monochromatic
#2B3D5C #3E5886 #5274AF #7C96C2 #A6B7D6

Accessibility & contrast

On white

4.69
#5274AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5274AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5274AF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274AF#FFFFFF#000000##FFFFFF
##5274AF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#228189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5274af;
/* rgb */ color: rgb(82, 116, 175);
/* oklch */ color: oklch(56.0% 0.100 260.9);
Tailwind
colors: {
  custom: {
    50: '#899bc7',
    500: '#5274af',
    950: '#000000',
  },
}
SCSS
$custom: #5274af;
$custom-light: #899bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5274af",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 218.065,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.1002,
    "h": 260.9
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#5274AF
secondary
#C3B49A
accent
#A35BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5274AF

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

Preview Lab → · Contrast checker → · Palette generator →

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