#5D78CB#5D78CB

#5D78CB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.131 H 268.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D78CB
RGBrgb(93, 120, 203)
HSLhsl(225, 51%, 58%)
HSVhsv(225, 54%, 80%)
CMYKcmyk(54.2%, 40.9%, 0%, 20.4%)
CIE-LABlab(51.92, 14.28, -46.14)
CIE-LCHlch(51.92, 48.30, 287.20°)
OKLaboklab(59.05% -0.0032 -0.1309)
OKLCHoklch(59.05% 0.131 268.6)
XYZxyz(22.0066, 20.0703, 59.2026)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78CB #CBB05D
analogous
#5DAFCB #5D78CB #795DCB
triadic
#5D78CB #CB5D78 #78CB5D
tetradic
#5D78CB #CB5DAF #CBB05D #5DCB79
square
#5D78CB #CB5DAF #CBB05D #5DCB79
split-complementary
#5D78CB #CB795D #AFCB5D
monochromatic
#2A4083 #3957B2 #5D78CB #8B9FDA #BAC5E9

Accessibility & contrast

On white

4.19
#5D78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78CB#FFFFFF#000000##000000
##5D78CB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#228A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d78cb;
/* rgb */ color: rgb(93, 120, 203);
/* oklch */ color: oklch(59.1% 0.131 268.6);
Tailwind
colors: {
  custom: {
    50: '#929edb',
    500: '#5d78cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d78cb;
$custom-light: #929edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78cb",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 225.273,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.13095,
    "h": 268.6
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#5D78CB
secondary
#D8CDAC
accent
#B84DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D78CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5D78CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva