#5276DF#5276DF

#5276DF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.165 H 267.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5276DF
RGBrgb(82, 118, 223)
HSLhsl(225, 69%, 60%)
HSVhsv(225, 63%, 87%)
CMYKcmyk(63.2%, 47.1%, 0%, 12.5%)
CIE-LABlab(51.92, 20.03, -57.49)
CIE-LCHlch(51.92, 60.88, 289.21°)
OKLaboklab(59.27% -0.0084 -0.1645)
OKLCHoklch(59.27% 0.165 267.1)
XYZxyz(23.2728, 20.0763, 72.4464)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276DF #DFBB52
analogous
#52BCDF #5276DF #7552DF
triadic
#5276DF #DF5276 #76DF52
tetradic
#5276DF #DF52BC #DFBB52 #52DF75
square
#5276DF #DF52BC #DFBB52 #52DF75
split-complementary
#5276DF #DF7552 #BCDF52
monochromatic
#1D3D9A #2651CE #5276DF #869FE9 #B9C8F2

Accessibility & contrast

On white

4.19
#5276DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5276DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276DF#FFFFFF#000000##000000
##5276DF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#2576DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5276df;
/* rgb */ color: rgb(82, 118, 223);
/* oklch */ color: oklch(59.3% 0.165 267.1);
Tailwind
colors: {
  custom: {
    50: '#909dea',
    500: '#5276df',
    950: '#000000',
  },
}
SCSS
$custom: #5276df;
$custom-light: #909dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5276df",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 224.681,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.1647,
    "h": 267.1
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#5276DF
secondary
#E2D4AB
accent
#BF3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276DF

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

Preview Lab → · Contrast checker → · Palette generator →

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