#5F73ED#5F73ED

#5F73ED is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.184 H 272.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5F73ED
RGBrgb(95, 115, 237)
HSLhsl(232, 80%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(59.9%, 51.5%, 0%, 7.1%)
CIE-LABlab(52.74, 28.84, -64.00)
CIE-LCHlch(52.74, 70.20, 294.26°)
OKLaboklab(60.36% 0.0086 -0.1834)
OKLCHoklch(60.36% 0.184 272.7)
XYZxyz(26.1311, 20.8067, 82.7434)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73ED #EDD95F
analogous
#5FBAED #5F73ED #925FED
triadic
#5F73ED #ED5F73 #73ED5F
tetradic
#5F73ED #ED5FBA #EDD95F #5FED92
square
#5F73ED #ED5FBA #EDD95F #5FED92
split-complementary
#5F73ED #ED925F #BAED5F
monochromatic
#152DBC #2843E7 #5F73ED #96A3F3 #CDD3F9

Accessibility & contrast

On white

4.07
#5F73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5F73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73ED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73ED#FFFFFF#000000##000000
##5F73ED1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f73ed;
/* rgb */ color: rgb(95, 115, 237);
/* oklch */ color: oklch(60.4% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#989bf4',
    500: '#5f73ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f73ed;
$custom-light: #989bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73ed",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 231.549,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.18357,
    "h": 272.7
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#5F73ED
secondary
#ECE5BC
accent
#BE09DC
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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