#5F72DB#5F72DB

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

Color values

HEX#5F72DB
RGBrgb(95, 114, 219)
HSLhsl(231, 63%, 62%)
HSVhsv(231, 57%, 86%)
CMYKcmyk(56.6%, 47.9%, 0%, 14.1%)
CIE-LABlab(51.36, 23.56, -56.10)
CIE-LCHlch(51.36, 60.85, 292.78°)
OKLaboklab(58.96% 0.0079 -0.1602)
OKLCHoklch(58.96% 0.16 272.8)
XYZxyz(23.5186, 19.5803, 69.5441)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72DB #DBC85F
analogous
#5FB0DB #5F72DB #8A5FDB
triadic
#5F72DB #DB5F72 #72DB5F
tetradic
#5F72DB #DB5FB0 #DBC85F #5FDB8A
square
#5F72DB #DB5FB0 #DBC85F #5FDB8A
split-complementary
#5F72DB #DB8A5F #B0DB5F
monochromatic
#23369C #2E47CE #5F72DB #919EE6 #C3CAF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F72DB#FFFFFF#000000##000000
##5F72DB1.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)
#3F80DF
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#0D8A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f72db;
/* rgb */ color: rgb(95, 114, 219);
/* oklch */ color: oklch(59.0% 0.160 272.8);
Tailwind
colors: {
  custom: {
    50: '#969ae7',
    500: '#5f72db',
    950: '#000000',
  },
}
SCSS
$custom: #5f72db;
$custom-light: #969ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72db",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 230.806,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.16036,
    "h": 272.8
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#5F72DB
secondary
#E2DBB4
accent
#B01ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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