#5F73DB#5F73DB

#5F73DB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.159 H 272.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F73DB
RGBrgb(95, 115, 219)
HSLhsl(230, 63%, 62%)
HSVhsv(230, 57%, 86%)
CMYKcmyk(56.6%, 47.5%, 0%, 14.1%)
CIE-LABlab(51.62, 22.95, -55.69)
CIE-LCHlch(51.62, 60.23, 292.40°)
OKLaboklab(59.15% 0.0069 -0.1589)
OKLCHoklch(59.15% 0.159 272.5)
XYZxyz(23.6320, 19.8071, 69.5819)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73DB #DBC75F
analogous
#5FB1DB #5F73DB #895FDB
triadic
#5F73DB #DB5F73 #73DB5F
tetradic
#5F73DB #DB5FB1 #DBC75F #5FDB89
square
#5F73DB #DB5FB1 #DBC75F #5FDB89
split-complementary
#5F73DB #DB895F #B1DB5F
monochromatic
#23379C #2E48CE #5F73DB #919FE6 #C3CAF1

Accessibility & contrast

On white

4.23
#5F73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73DB#FFFFFF#000000##000000
##5F73DB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#0D8A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f73db;
/* rgb */ color: rgb(95, 115, 219);
/* oklch */ color: oklch(59.2% 0.159 272.5);
Tailwind
colors: {
  custom: {
    50: '#969be7',
    500: '#5f73db',
    950: '#000000',
  },
}
SCSS
$custom: #5f73db;
$custom-light: #969be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73db",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 230.323,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.15908,
    "h": 272.5
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#5F73DB
secondary
#E2DBB4
accent
#AF1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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