#5F73E2#5F73E2

#5F73E2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.169 H 272.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5F73E2
RGBrgb(95, 115, 226)
HSLhsl(231, 69%, 63%)
HSVhsv(231, 58%, 89%)
CMYKcmyk(58%, 49.1%, 0%, 11.4%)
CIE-LABlab(52.04, 25.23, -58.95)
CIE-LCHlch(52.04, 64.12, 293.17°)
OKLaboklab(59.61% 0.0076 -0.1685)
OKLCHoklch(59.61% 0.169 272.6)
XYZxyz(24.5730, 20.1835, 74.5376)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73E2 #E2CE5F
analogous
#5FB4E2 #5F73E2 #8D5FE2
triadic
#5F73E2 #E25F73 #73E25F
tetradic
#5F73E2 #E25FB4 #E2CE5F #5FE28D
square
#5F73E2 #E25FB4 #E2CE5F #5FE28D
split-complementary
#5F73E2 #E28D5F #B4E25F
monochromatic
#1E33A8 #2B46D9 #5F73E2 #93A0EB #C7CEF5

Accessibility & contrast

On white

4.17
#5F73E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5F73E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73E2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73E2#FFFFFF#000000##000000
##5F73E21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E6
Deuteranopia (green-blind)
#2277E0
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f73e2;
/* rgb */ color: rgb(95, 115, 226);
/* oklch */ color: oklch(59.6% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#979bec',
    500: '#5f73e2',
    950: '#000000',
  },
}
SCSS
$custom: #5f73e2;
$custom-light: #979bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73e2",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 230.84,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.16869,
    "h": 272.6
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#5F73E2
secondary
#E6DFB7
accent
#B414D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F73E2

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

Preview Lab → · Contrast checker → · Palette generator →

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