#5F77CA#5F77CA

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

Color values

HEX#5F77CA
RGBrgb(95, 119, 202)
HSLhsl(227, 50%, 58%)
HSVhsv(227, 53%, 79%)
CMYKcmyk(53%, 41.1%, 0%, 20.8%)
CIE-LABlab(51.71, 15.01, -45.89)
CIE-LCHlch(51.71, 48.28, 288.11°)
OKLaboklab(58.91% -0.0002 -0.1301)
OKLCHoklch(58.91% 0.13 269.9)
XYZxyz(21.9733, 19.8893, 58.5468)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77CA #CAB25F
analogous
#5FACCA #5F77CA #7C5FCA
triadic
#5F77CA #CA5F77 #77CA5F
tetradic
#5F77CA #CA5FAC #CAB25F #5FCA7C
square
#5F77CA #CA5FAC #CAB25F #5FCA7C
split-complementary
#5F77CA #CA7C5F #ACCA5F
monochromatic
#2B3F83 #3B55B1 #5F77CA #8D9ED9 #BBC5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F77CA#FFFFFF#000000##000000
##5F77CA1.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)
#5580CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#2B8997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f77ca;
/* rgb */ color: rgb(95, 119, 202);
/* oklch */ color: oklch(58.9% 0.130 269.9);
Tailwind
colors: {
  custom: {
    50: '#939dda',
    500: '#5f77ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f77ca;
$custom-light: #939dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77ca",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 226.542,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.13014,
    "h": 269.9
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#5F77CA
secondary
#D8CEAD
accent
#BA4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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