#5A62DD#5A62DD

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

Color values

HEX#5A62DD
RGBrgb(90, 98, 221)
HSLhsl(236, 66%, 61%)
HSVhsv(236, 59%, 87%)
CMYKcmyk(59.3%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.14, 33.11, -64.05)
CIE-LCHlch(47.14, 72.10, 297.33°)
OKLaboklab(55.74% 0.0187 -0.1838)
OKLCHoklch(55.74% 0.185 275.8)
XYZxyz(21.6310, 16.1278, 70.3657)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62DD #DDD55A
analogous
#5AA3DD #5A62DD #935ADD
triadic
#5A62DD #DD5A62 #62DD5A
tetradic
#5A62DD #DD5AA3 #DDD55A #5ADD93
square
#5A62DD #DD5AA3 #DDD55A #5ADD93
split-complementary
#5A62DD #DD935A #A3DD5A
monochromatic
#20289C #2B35CF #5A62DD #8D92E7 #BFC3F2

Accessibility & contrast

On white

4.97
#5A62DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5A62DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62DD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62DD#FFFFFF#000000##FFFFFF
##5A62DD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a62dd;
/* rgb */ color: rgb(90, 98, 221);
/* oklch */ color: oklch(55.7% 0.185 275.8);
Tailwind
colors: {
  custom: {
    50: '#948ee8',
    500: '#5a62dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a62dd;
$custom-light: #948ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62dd",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 236.336,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.18477,
    "h": 275.8
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#5A62DD
secondary
#E2DFB1
accent
#C318CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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