#5F76CA#5F76CA

#5F76CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.131 H 270.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F76CA
RGBrgb(95, 118, 202)
HSLhsl(227, 50%, 58%)
HSVhsv(227, 53%, 79%)
CMYKcmyk(53%, 41.6%, 0%, 20.8%)
CIE-LABlab(51.44, 15.62, -46.32)
CIE-LCHlch(51.44, 48.88, 288.64°)
OKLaboklab(58.7% 0.0009 -0.1314)
OKLCHoklch(58.7% 0.131 270.4)
XYZxyz(21.8549, 19.6525, 58.5073)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76CA #CAB35F
analogous
#5FABCA #5F76CA #7D5FCA
triadic
#5F76CA #CA5F76 #76CA5F
tetradic
#5F76CA #CA5FAB #CAB35F #5FCA7D
square
#5F76CA #CA5FAB #CAB35F #5FCA7D
split-complementary
#5F76CA #CA7D5F #ABCA5F
monochromatic
#2B3E83 #3B54B1 #5F76CA #8D9DD9 #BBC5E8

Accessibility & contrast

On white

4.26
#5F76CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5F76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76CA#FFFFFF#000000##000000
##5F76CA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#2B8896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f76ca;
/* rgb */ color: rgb(95, 118, 202);
/* oklch */ color: oklch(58.7% 0.131 270.4);
Tailwind
colors: {
  custom: {
    50: '#939dda',
    500: '#5f76ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ca;
$custom-light: #939dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ca",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 227.103,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.1314,
    "h": 270.4
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#5F76CA
secondary
#D8CFAD
accent
#BC4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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