#5F73E8#5F73E8

#5F73E8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.177 H 272.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5F73E8
RGBrgb(95, 115, 232)
HSLhsl(231, 75%, 64%)
HSVhsv(231, 59%, 91%)
CMYKcmyk(59.1%, 50.4%, 0%, 9%)
CIE-LABlab(52.42, 27.20, -61.71)
CIE-LCHlch(52.42, 67.44, 293.78°)
OKLaboklab(60.01% 0.0082 -0.1766)
OKLCHoklch(60.01% 0.177 272.7)
XYZxyz(25.4107, 20.5186, 78.9497)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73E8 #E8D45F
analogous
#5FB8E8 #5F73E8 #905FE8
triadic
#5F73E8 #E85F73 #73E85F
tetradic
#5F73E8 #E85FB8 #E8D45F #5FE890
square
#5F73E8 #E85FB8 #E8D45F #5FE890
split-complementary
#5F73E8 #E8905F #B8E85F
monochromatic
#1A30B3 #2944E0 #5F73E8 #95A2F0 #CAD1F7

Accessibility & contrast

On white

4.11
#5F73E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5F73E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73E8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73E8#FFFFFF#000000##000000
##5F73E81.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#1177E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f73e8;
/* rgb */ color: rgb(95, 115, 232);
/* oklch */ color: oklch(60.0% 0.177 272.7);
Tailwind
colors: {
  custom: {
    50: '#989bf0',
    500: '#5f73e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f73e8;
$custom-light: #989bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73e8",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 231.241,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.17684,
    "h": 272.7
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#5F73E8
secondary
#E9E2BA
accent
#BA0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F73E8

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

Preview Lab → · Contrast checker → · Palette generator →

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