#5F73D7#5F73D7

#5F73D7 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.154 H 272.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F73D7
RGBrgb(95, 115, 215)
HSLhsl(230, 60%, 61%)
HSVhsv(230, 56%, 84%)
CMYKcmyk(55.8%, 46.5%, 0%, 15.7%)
CIE-LABlab(51.38, 21.65, -53.80)
CIE-LCHlch(51.38, 58.00, 291.92°)
OKLaboklab(58.9% 0.0064 -0.1534)
OKLCHoklch(58.9% 0.154 272.4)
XYZxyz(23.1118, 19.5990, 66.8419)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73D7 #D7C35F
analogous
#5FAFD7 #5F73D7 #875FD7
triadic
#5F73D7 #D75F73 #73D75F
tetradic
#5F73D7 #D75FAF #D7C35F #5FD787
square
#5F73D7 #D75FAF #D7C35F #5FD787
split-complementary
#5F73D7 #D7875F #AFD75F
monochromatic
#263896 #324BC7 #5F73D7 #909EE3 #C1C9EF

Accessibility & contrast

On white

4.27
#5F73D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F73D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73D7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73D7#FFFFFF#000000##000000
##5F73D71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DB
Deuteranopia (green-blind)
#3476D5
Tritanopia (blue-blind)
#18899B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f73d7;
/* rgb */ color: rgb(95, 115, 215);
/* oklch */ color: oklch(58.9% 0.154 272.4);
Tailwind
colors: {
  custom: {
    50: '#959be4',
    500: '#5f73d7',
    950: '#000000',
  },
}
SCSS
$custom: #5f73d7;
$custom-light: #959be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73d7",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 230,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.15353,
    "h": 272.4
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#5F73D7
secondary
#E0D8B2
accent
#AB1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5F73D7

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

Preview Lab → · Contrast checker → · Palette generator →

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