#5F77B2#5F77B2

#5F77B2 is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.6% C 0.096 H 266.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F77B2
RGBrgb(95, 119, 178)
HSLhsl(223, 35%, 54%)
HSVhsv(223, 47%, 70%)
CMYKcmyk(46.6%, 33.1%, 0%, 30.2%)
CIE-LABlab(50.50, 7.50, -34.02)
CIE-LCHlch(50.50, 34.84, 282.43°)
OKLaboklab(57.58% -0.0057 -0.0955)
OKLCHoklch(57.58% 0.096 266.6)
XYZxyz(19.3494, 18.8397, 44.7277)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77B2 #B29A5F
analogous
#5FA0B2 #5F77B2 #705FB2
triadic
#5F77B2 #B25F77 #77B25F
tetradic
#5F77B2 #B25FA0 #B29A5F #5FB270
square
#5F77B2 #B25FA0 #B29A5F #5FB270
split-complementary
#5F77B2 #B2705F #A0B25F
monochromatic
#314066 #455A8F #5F77B2 #889AC6 #B2BDDA

Accessibility & contrast

On white

4.40
#5F77B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5F77B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77B2#FFFFFF#000000##000000
##5F77B21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#3F838C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f77b2;
/* rgb */ color: rgb(95, 119, 178);
/* oklch */ color: oklch(57.6% 0.096 266.6);
Tailwind
colors: {
  custom: {
    50: '#909ec9',
    500: '#5f77b2',
    950: '#000000',
  },
}
SCSS
$custom: #5f77b2;
$custom-light: #909ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77b2",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 222.651,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.09571,
    "h": 266.6
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#5F77B2
secondary
#C8BEA5
accent
#AB5DCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F77B2

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

Preview Lab → · Contrast checker → · Palette generator →

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