#5780DF#5780DF

#5780DF is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.151 H 264.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5780DF
RGBrgb(87, 128, 223)
HSLhsl(222, 68%, 61%)
HSVhsv(222, 61%, 87%)
CMYKcmyk(61%, 42.6%, 0%, 12.5%)
CIE-LABlab(54.86, 14.80, -52.79)
CIE-LCHlch(54.86, 54.82, 285.66°)
OKLaboklab(61.59% -0.0138 -0.1504)
OKLCHoklch(61.59% 0.151 264.8)
XYZxyz(24.9643, 22.7901, 72.8811)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5780DF #DFB657
analogous
#57C4DF #5780DF #7257DF
triadic
#5780DF #DF5780 #80DF57
tetradic
#5780DF #DF57C4 #DFB657 #57DF72
square
#5780DF #DF57C4 #DFB657 #57DF72
split-complementary
#5780DF #DF7257 #C4DF57
monochromatic
#1E449E #285BD1 #5780DF #8AA7E9 #BECEF3

Accessibility & contrast

On white

3.78
#5780DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5780DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5780DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5780DF#FFFFFF#000000##000000
##5780DF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#417DDD
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5780df;
/* rgb */ color: rgb(87, 128, 223);
/* oklch */ color: oklch(61.6% 0.151 264.8);
Tailwind
colors: {
  custom: {
    50: '#92a4e9',
    500: '#5780df',
    950: '#000000',
  },
}
SCSS
$custom: #5780df;
$custom-light: #92a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5780df",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 221.912,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.15105,
    "h": 264.8
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#5780DF
secondary
#E3D3AF
accent
#9816D0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5780DF

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

Preview Lab → · Contrast checker → · Palette generator →

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