#5265AF#5265AF

#5265AF is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.7% C 0.119 H 271.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5265AF
RGBrgb(82, 101, 175)
HSLhsl(228, 37%, 50%)
HSVhsv(228, 53%, 69%)
CMYKcmyk(53.1%, 42.3%, 0%, 31.4%)
CIE-LABlab(44.51, 14.49, -41.78)
CIE-LCHlch(44.51, 44.22, 289.13°)
OKLaboklab(52.69% 0.0021 -0.1185)
OKLCHoklch(52.69% 0.119 271)
XYZxyz(15.8687, 14.1953, 42.4529)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265AF #AF9C52
analogous
#5293AF #5265AF #6D52AF
triadic
#5265AF #AF5265 #65AF52
tetradic
#5265AF #AF5293 #AF9C52 #52AF6D
square
#5265AF #AF5293 #AF9C52 #52AF6D
split-complementary
#5265AF #AF6D52 #93AF52
monochromatic
#2B355C #3E4D86 #5265AF #7C8AC2 #A6B0D6

Accessibility & contrast

On white

5.47
#5265AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5265AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265AF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265AF#FFFFFF#000000##FFFFFF
##5265AF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#267581
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5265af;
/* rgb */ color: rgb(82, 101, 175);
/* oklch */ color: oklch(52.7% 0.119 271.0);
Tailwind
colors: {
  custom: {
    50: '#8990c7',
    500: '#5265af',
    950: '#000000',
  },
}
SCSS
$custom: #5265af;
$custom-light: #8990c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5265af",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 175
  },
  "hsl": {
    "h": 227.742,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.11855,
    "h": 271
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#5265AF
secondary
#C3BB9A
accent
#B65BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5265AF

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

Preview Lab → · Contrast checker → · Palette generator →

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