#5F76D3#5F76D3

#5F76D3 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.144 H 271.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F76D3
RGBrgb(95, 118, 211)
HSLhsl(228, 57%, 60%)
HSVhsv(228, 55%, 83%)
CMYKcmyk(55%, 44.1%, 0%, 17.3%)
CIE-LABlab(51.94, 18.51, -50.64)
CIE-LCHlch(51.94, 53.92, 290.08°)
OKLaboklab(59.25% 0.0025 -0.1441)
OKLCHoklch(59.25% 0.144 271)
XYZxyz(22.9518, 20.0913, 64.2839)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76D3 #D3BC5F
analogous
#5FB0D3 #5F76D3 #825FD3
triadic
#5F76D3 #D35F76 #76D35F
tetradic
#5F76D3 #D35FB0 #D3BC5F #5FD382
square
#5F76D3 #D35FB0 #D3BC5F #5FD382
split-complementary
#5F76D3 #D3825F #B0D35F
monochromatic
#283C90 #3550C0 #5F76D3 #8F9FE0 #BFC8ED

Accessibility & contrast

On white

4.18
#5F76D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5F76D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76D3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76D3#FFFFFF#000000##000000
##5F76D31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D7
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#1E8A9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f76d3;
/* rgb */ color: rgb(95, 118, 211);
/* oklch */ color: oklch(59.2% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#949de1',
    500: '#5f76d3',
    950: '#000000',
  },
}
SCSS
$custom: #5f76d3;
$custom-light: #949de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76d3",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 211
  },
  "hsl": {
    "h": 228.103,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.1441,
    "h": 271
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#5F76D3
secondary
#DDD4B1
accent
#C248E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F76D3

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

Preview Lab → · Contrast checker → · Palette generator →

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