#5F72FA#5F72FA

#5F72FA is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.1% C 0.202 H 272.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5F72FA
RGBrgb(95, 114, 250)
HSLhsl(233, 94%, 68%)
HSVhsv(233, 62%, 98%)
CMYKcmyk(62%, 54.4%, 0%, 2%)
CIE-LABlab(53.35, 33.72, -70.24)
CIE-LCHlch(53.35, 77.92, 295.64°)
OKLaboklab(61.09% 0.0103 -0.2018)
OKLCHoklch(61.09% 0.202 272.9)
XYZxyz(27.9862, 21.3673, 93.0734)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72FA #FAE75F
analogous
#5FC0FA #5F72FA #995FFA
triadic
#5F72FA #FA5F72 #72FA5F
tetradic
#5F72FA #FA5FC0 #FAE75F #5FFA99
square
#5F72FA #FA5FC0 #FAE75F #5FFA99
split-complementary
#5F72FA #FA995F #C0FA5F
monochromatic
#0720D8 #243EF8 #5F72FA #9AA6FC #D6DBFE

Accessibility & contrast

On white

3.98
#5F72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5F72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72FA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72FA#FFFFFF#000000##000000
##5F72FA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f72fa;
/* rgb */ color: rgb(95, 114, 250);
/* oklch */ color: oklch(61.1% 0.202 272.9);
Tailwind
colors: {
  custom: {
    50: '#9b9afd',
    500: '#5f72fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f72fa;
$custom-light: #9b9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72fa",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 232.645,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.20202,
    "h": 272.9
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#5F72FA
secondary
#F2EDC2
accent
#C900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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