#5F72F0#5F72F0

#5F72F0 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.189 H 273.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F72F0
RGBrgb(95, 114, 240)
HSLhsl(232, 83%, 66%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(60.4%, 52.5%, 0%, 5.9%)
CIE-LABlab(52.68, 30.43, -65.76)
CIE-LCHlch(52.68, 72.46, 294.83°)
OKLaboklab(60.38% 0.0098 -0.1886)
OKLCHoklch(60.38% 0.189 273)
XYZxyz(26.4596, 20.7566, 85.0333)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72F0 #F0DD5F
analogous
#5FBAF0 #5F72F0 #945FF0
triadic
#5F72F0 #F05F72 #72F05F
tetradic
#5F72F0 #F05FBA #F0DD5F #5FF094
square
#5F72F0 #F05FBA #F0DD5F #5FF094
split-complementary
#5F72F0 #F0945F #BAF05F
monochromatic
#1229C2 #2741EB #5F72F0 #97A3F5 #CFD5FA

Accessibility & contrast

On white

4.08
#5F72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5F72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72F0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72F0#FFFFFF#000000##000000
##5F72F01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f72f0;
/* rgb */ color: rgb(95, 114, 240);
/* oklch */ color: oklch(60.4% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#999af6',
    500: '#5f72f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f72f0;
$custom-light: #999af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72f0",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 232.138,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.18882,
    "h": 273
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#5F72F0
secondary
#EEE7BD
accent
#C306DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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