#5F77CF#5F77CF

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

Color values

HEX#5F77CF
RGBrgb(95, 119, 207)
HSLhsl(227, 54%, 59%)
HSVhsv(227, 54%, 81%)
CMYKcmyk(54.1%, 42.5%, 0%, 18.8%)
CIE-LABlab(51.98, 16.61, -48.30)
CIE-LCHlch(51.98, 51.08, 288.98°)
OKLaboklab(59.21% 0.0007 -0.1372)
OKLCHoklch(59.21% 0.137 270.3)
XYZxyz(22.5749, 20.1299, 61.7153)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77CF #CFB75F
analogous
#5FAFCF #5F77CF #7F5FCF
triadic
#5F77CF #CF5F77 #77CF5F
tetradic
#5F77CF #CF5FAF #CFB75F #5FCF7F
square
#5F77CF #CF5FAF #CFB75F #5FCF7F
split-complementary
#5F77CF #CF7F5F #AFCF5F
monochromatic
#293E8A #3853B9 #5F77CF #8E9FDD #BDC7EB

Accessibility & contrast

On white

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

On black

5.03
#5F77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77CF#FFFFFF#000000##000000
##5F77CF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#248A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f77cf;
/* rgb */ color: rgb(95, 119, 207);
/* oklch */ color: oklch(59.2% 0.137 270.3);
Tailwind
colors: {
  custom: {
    50: '#949dde',
    500: '#5f77cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f77cf;
$custom-light: #949dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77cf",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 227.143,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13721,
    "h": 270.3
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#5F77CF
secondary
#DBD1AF
accent
#BE4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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