#5C62DA#5C62DA

#5C62DA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.180 H 276.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5C62DA
RGBrgb(92, 98, 218)
HSLhsl(237, 63%, 61%)
HSVhsv(237, 58%, 85%)
CMYKcmyk(57.8%, 55%, 0%, 14.5%)
CIE-LABlab(47.07, 32.49, -62.46)
CIE-LCHlch(47.07, 70.40, 297.48°)
OKLaboklab(55.66% 0.0209 -0.1791)
OKLCHoklch(55.66% 0.18 276.7)
XYZxyz(21.4321, 16.0711, 68.2887)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62DA #DAD45C
analogous
#5CA1DA #5C62DA #955CDA
triadic
#5C62DA #DA5C62 #62DA5C
tetradic
#5C62DA #DA5CA1 #DAD45C #5CDA95
square
#5C62DA #DA5CA1 #DAD45C #5CDA95
split-complementary
#5C62DA #DA955C #A1DA5C
monochromatic
#232899 #2E35CB #5C62DA #8E92E5 #C0C2F1

Accessibility & contrast

On white

4.98
#5C62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5C62DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62DA#FFFFFF#000000##FFFFFF
##5C62DA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0475DE
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c62da;
/* rgb */ color: rgb(92, 98, 218);
/* oklch */ color: oklch(55.7% 0.180 276.7);
Tailwind
colors: {
  custom: {
    50: '#958ee6',
    500: '#5c62da',
    950: '#000000',
  },
}
SCSS
$custom: #5c62da;
$custom-light: #958ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62da",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 237.143,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.18031,
    "h": 276.7
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#5C62DA
secondary
#E1DEB1
accent
#C21BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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