#5F76CF#5F76CF

#5F76CF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.138 H 270.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5F76CF
RGBrgb(95, 118, 207)
HSLhsl(228, 54%, 59%)
HSVhsv(228, 54%, 81%)
CMYKcmyk(54.1%, 43%, 0%, 18.8%)
CIE-LABlab(51.72, 17.22, -48.73)
CIE-LCHlch(51.72, 51.68, 289.47°)
OKLaboklab(59% 0.0018 -0.1385)
OKLCHoklch(59% 0.138 270.8)
XYZxyz(22.4565, 19.8932, 61.6758)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76CF #CFB85F
analogous
#5FAECF #5F76CF #805FCF
triadic
#5F76CF #CF5F76 #76CF5F
tetradic
#5F76CF #CF5FAE #CFB85F #5FCF80
square
#5F76CF #CF5FAE #CFB85F #5FCF80
split-complementary
#5F76CF #CF805F #AECF5F
monochromatic
#293D8A #3852B9 #5F76CF #8E9EDD #BDC7EB

Accessibility & contrast

On white

4.22
#5F76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5F76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76CF#FFFFFF#000000##000000
##5F76CF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#258998
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f76cf;
/* rgb */ color: rgb(95, 118, 207);
/* oklch */ color: oklch(59.0% 0.138 270.8);
Tailwind
colors: {
  custom: {
    50: '#949dde',
    500: '#5f76cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f76cf;
$custom-light: #949dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76cf",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 227.679,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.13848,
    "h": 270.8
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#5F76CF
secondary
#DBD2AF
accent
#BF4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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