#5F76C8#5F76C8

#5F76C8 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.129 H 270.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F76C8
RGBrgb(95, 118, 200)
HSLhsl(227, 49%, 58%)
HSVhsv(227, 53%, 78%)
CMYKcmyk(52.5%, 41%, 0%, 21.6%)
CIE-LABlab(51.33, 14.98, -45.35)
CIE-LCHlch(51.33, 47.76, 288.28°)
OKLaboklab(58.59% 0.0005 -0.1286)
OKLCHoklch(58.59% 0.129 270.2)
XYZxyz(21.6197, 19.5584, 57.2683)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76C8 #C8B15F
analogous
#5FAAC8 #5F76C8 #7C5FC8
triadic
#5F76C8 #C85F76 #76C85F
tetradic
#5F76C8 #C85FAA #C8B15F #5FC87C
square
#5F76C8 #C85FAA #C8B15F #5FC87C
split-complementary
#5F76C8 #C87C5F #AAC85F
monochromatic
#2C3F80 #3C55AE #5F76C8 #8D9DD8 #BAC4E7

Accessibility & contrast

On white

4.28
#5F76C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F76C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76C8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76C8#FFFFFF#000000##000000
##5F76C81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#2D8895
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f76c8;
/* rgb */ color: rgb(95, 118, 200);
/* oklch */ color: oklch(58.6% 0.129 270.2);
Tailwind
colors: {
  custom: {
    50: '#939dd9',
    500: '#5f76c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f76c8;
$custom-light: #939dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76c8",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 226.857,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.12856,
    "h": 270.2
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#5F76C8
secondary
#D6CDAC
accent
#BA4FD8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F76C8

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

Preview Lab → · Contrast checker → · Palette generator →

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