#5D61FA#5D61FA

#5D61FA is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.0% C 0.223 H 275.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5D61FA
RGBrgb(93, 97, 250)
HSLhsl(238, 94%, 67%)
HSVhsv(238, 63%, 98%)
CMYKcmyk(62.8%, 61.2%, 0%, 2%)
CIE-LABlab(49.22, 43.60, -76.95)
CIE-LCHlch(49.22, 88.44, 299.53°)
OKLaboklab(58% 0.0225 -0.2217)
OKLCHoklch(58% 0.223 275.8)
XYZxyz(26.0386, 17.7765, 92.4830)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61FA #FAF65D
analogous
#5DB0FA #5D61FA #A75DFA
triadic
#5D61FA #FA5D61 #61FA5D
tetradic
#5D61FA #FA5DB0 #FAF65D #5DFAA7
square
#5D61FA #FA5DB0 #FAF65D #5DFAA7
split-complementary
#5D61FA #FAA75D #B0FA5D
monochromatic
#070CD6 #2227F8 #5D61FA #989BFC #D4D5FE

Accessibility & contrast

On white

4.61
#5D61FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5D61FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61FA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61FA#FFFFFF#000000##FFFFFF
##5D61FA1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006EF7
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d61fa;
/* rgb */ color: rgb(93, 97, 250);
/* oklch */ color: oklch(58.0% 0.223 275.8);
Tailwind
colors: {
  custom: {
    50: '#9b8efd',
    500: '#5d61fa',
    950: '#000000',
  },
}
SCSS
$custom: #5d61fa;
$custom-light: #9b8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61fa",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 238.471,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.22282,
    "h": 275.8
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#5D61FA
secondary
#F2F1C1
accent
#E000E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5D61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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