#5F72F3#5F72F3

#5F72F3 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.193 H 273.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F72F3
RGBrgb(95, 114, 243)
HSLhsl(232, 86%, 66%)
HSVhsv(232, 61%, 95%)
CMYKcmyk(60.9%, 53.1%, 0%, 4.7%)
CIE-LABlab(52.88, 31.42, -67.11)
CIE-LCHlch(52.88, 74.10, 295.09°)
OKLaboklab(60.59% 0.01 -0.1925)
OKLCHoklch(60.59% 0.193 273)
XYZxyz(26.9089, 20.9364, 87.3997)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72F3 #F3E05F
analogous
#5FBCF3 #5F72F3 #965FF3
triadic
#5F72F3 #F35F72 #72F35F
tetradic
#5F72F3 #F35FBC #F3E05F #5FF396
square
#5F72F3 #F35FBC #F3E05F #5FF396
split-complementary
#5F72F3 #F3965F #BCF35F
monochromatic
#0F27C9 #2640EF #5F72F3 #98A4F7 #D1D6FC

Accessibility & contrast

On white

4.05
#5F72F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5F72F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72F3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72F3#FFFFFF#000000##000000
##5F72F31.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B85F7
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f72f3;
/* rgb */ color: rgb(95, 114, 243);
/* oklch */ color: oklch(60.6% 0.193 273.0);
Tailwind
colors: {
  custom: {
    50: '#999af8',
    500: '#5f72f3',
    950: '#000000',
  },
}
SCSS
$custom: #5f72f3;
$custom-light: #999af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72f3",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 232.297,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.19281,
    "h": 273
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#5F72F3
secondary
#EFE9BF
accent
#C603E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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