#5D7FC2#5D7FC2

#5D7FC2 is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.0% C 0.110 H 263.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D7FC2
RGBrgb(93, 127, 194)
HSLhsl(220, 45%, 56%)
HSVhsv(220, 52%, 76%)
CMYKcmyk(52.1%, 34.5%, 0%, 23.9%)
CIE-LABlab(53.38, 7.17, -38.69)
CIE-LCHlch(53.38, 39.35, 280.50°)
OKLaboklab(60.04% -0.0134 -0.1091)
OKLCHoklch(60.04% 0.11 263)
XYZxyz(21.8379, 21.3994, 54.0082)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FC2 #C2A05D
analogous
#5DB2C2 #5D7FC2 #6E5DC2
triadic
#5D7FC2 #C25D7F #7FC25D
tetradic
#5D7FC2 #C25DB2 #C2A05D #5DC26E
square
#5D7FC2 #C25DB2 #C2A05D #5DC26E
split-complementary
#5D7FC2 #C26E5D #B2C25D
monochromatic
#2D4678 #3E60A4 #5D7FC2 #89A2D3 #B6C5E3

Accessibility & contrast

On white

3.98
#5D7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5D7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FC2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FC2#FFFFFF#000000##000000
##5D7FC21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#2C8E97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7fc2;
/* rgb */ color: rgb(93, 127, 194);
/* oklch */ color: oklch(60.0% 0.110 263.0);
Tailwind
colors: {
  custom: {
    50: '#91a3d5',
    500: '#5d7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fc2;
$custom-light: #91a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fc2",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 219.802,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60038,
    "c": 0.10991,
    "h": 263
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#5D7FC2
secondary
#D2C4A9
accent
#A953D5
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5D7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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