#5A79CF#5A79CF

#5A79CF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.136 H 267.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5A79CF
RGBrgb(90, 121, 207)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(56.5%, 41.5%, 0%, 18.8%)
CIE-LABlab(52.23, 14.34, -47.92)
CIE-LCHlch(52.23, 50.02, 286.65°)
OKLaboklab(59.32% -0.0065 -0.1362)
OKLCHoklch(59.32% 0.136 267.3)
XYZxyz(22.3125, 20.3517, 61.7719)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CF #CFB05A
analogous
#5AB3CF #5A79CF #755ACF
triadic
#5A79CF #CF5A79 #79CF5A
tetradic
#5A79CF #CF5AB3 #CFB05A #5ACF75
square
#5A79CF #CF5AB3 #CFB05A #5ACF75
split-complementary
#5A79CF #CF755A #B3CF5A
monochromatic
#274187 #3557B7 #5A79CF #899FDD #B9C6EB

Accessibility & contrast

On white

4.14
#5A79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5A79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CF#FFFFFF#000000##000000
##5A79CF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4578CD
Tritanopia (blue-blind)
#078C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a79cf;
/* rgb */ color: rgb(90, 121, 207);
/* oklch */ color: oklch(59.3% 0.136 267.3);
Tailwind
colors: {
  custom: {
    50: '#919fde',
    500: '#5a79cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a79cf;
$custom-light: #919fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79cf",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 224.103,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.13634,
    "h": 267.3
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#5A79CF
secondary
#DACDAB
accent
#B74ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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