#5F73E5#5F73E5

#5F73E5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.173 H 272.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F73E5
RGBrgb(95, 115, 229)
HSLhsl(231, 72%, 64%)
HSVhsv(231, 59%, 90%)
CMYKcmyk(58.5%, 49.8%, 0%, 10.2%)
CIE-LABlab(52.23, 26.21, -60.34)
CIE-LCHlch(52.23, 65.78, 293.48°)
OKLaboklab(59.81% 0.0079 -0.1726)
OKLCHoklch(59.81% 0.173 272.6)
XYZxyz(24.9882, 20.3496, 76.7246)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73E5 #E5D15F
analogous
#5FB6E5 #5F73E5 #8E5FE5
triadic
#5F73E5 #E55F73 #73E55F
tetradic
#5F73E5 #E55FB6 #E5D15F #5FE58E
square
#5F73E5 #E55FB6 #E5D15F #5FE58E
split-complementary
#5F73E5 #E58E5F #B6E55F
monochromatic
#1C32AD #2A45DC #5F73E5 #94A1EE #C8CFF6

Accessibility & contrast

On white

4.14
#5F73E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5F73E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73E5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73E5#FFFFFF#000000##000000
##5F73E51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683E9
Deuteranopia (green-blind)
#1B77E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f73e5;
/* rgb */ color: rgb(95, 115, 229);
/* oklch */ color: oklch(59.8% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#979bee',
    500: '#5f73e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f73e5;
$custom-light: #979bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73e5",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 231.045,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.17278,
    "h": 272.6
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#5F73E5
secondary
#E8E1B8
accent
#B711D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5F73E5

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

Preview Lab → · Contrast checker → · Palette generator →

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