#5F77CD#5F77CD

#5F77CD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.134 H 270.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5F77CD
RGBrgb(95, 119, 205)
HSLhsl(227, 52%, 59%)
HSVhsv(227, 54%, 80%)
CMYKcmyk(53.7%, 42%, 0%, 19.6%)
CIE-LABlab(51.87, 15.97, -47.34)
CIE-LCHlch(51.87, 49.96, 288.64°)
OKLaboklab(59.09% 0.0003 -0.1344)
OKLCHoklch(59.09% 0.134 270.1)
XYZxyz(22.3320, 20.0328, 60.4357)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77CD #CDB55F
analogous
#5FAECD #5F77CD #7E5FCD
triadic
#5F77CD #CD5F77 #77CD5F
tetradic
#5F77CD #CD5FAE #CDB55F #5FCD7E
square
#5F77CD #CD5FAE #CDB55F #5FCD7E
split-complementary
#5F77CD #CD7E5F #AECD5F
monochromatic
#2A3F87 #3954B6 #5F77CD #8E9FDC #BCC6EA

Accessibility & contrast

On white

4.19
#5F77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5F77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77CD#FFFFFF#000000##000000
##5F77CD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#278A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f77cd;
/* rgb */ color: rgb(95, 119, 205);
/* oklch */ color: oklch(59.1% 0.134 270.1);
Tailwind
colors: {
  custom: {
    50: '#949ddd',
    500: '#5f77cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f77cd;
$custom-light: #949ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77cd",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 226.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.13439,
    "h": 270.1
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#5F77CD
secondary
#DAD0AE
accent
#BC4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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