#5278DF#5278DF

#5278DF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.162 H 266.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5278DF
RGBrgb(82, 120, 223)
HSLhsl(224, 69%, 60%)
HSVhsv(224, 63%, 87%)
CMYKcmyk(63.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.46, 18.80, -56.64)
CIE-LCHlch(52.46, 59.68, 288.36°)
OKLaboklab(59.68% -0.0103 -0.1619)
OKLCHoklch(59.68% 0.162 266.3)
XYZxyz(23.5108, 20.5524, 72.5257)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5278DF #DFB952
analogous
#52BEDF #5278DF #7352DF
triadic
#5278DF #DF5278 #78DF52
tetradic
#5278DF #DF52BE #DFB952 #52DF73
square
#5278DF #DF52BE #DFB952 #52DF73
split-complementary
#5278DF #DF7352 #BEDF52
monochromatic
#1D3E9A #2653CE #5278DF #86A0E9 #B9C9F2

Accessibility & contrast

On white

4.11
#5278DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5278DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5278DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5278DF#FFFFFF#000000##000000
##5278DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5278df;
/* rgb */ color: rgb(82, 120, 223);
/* oklch */ color: oklch(59.7% 0.162 266.3);
Tailwind
colors: {
  custom: {
    50: '#909ee9',
    500: '#5278df',
    950: '#000000',
  },
}
SCSS
$custom: #5278df;
$custom-light: #909ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5278df",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 223.83,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.16227,
    "h": 266.3
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#5278DF
secondary
#E2D3AB
accent
#BC3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5278DF

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

Preview Lab → · Contrast checker → · Palette generator →

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