#5F77DF#5F77DF

#5F77DF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.160 H 271.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F77DF
RGBrgb(95, 119, 223)
HSLhsl(229, 67%, 62%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57.4%, 46.6%, 0%, 12.5%)
CIE-LABlab(52.90, 21.80, -55.89)
CIE-LCHlch(52.90, 59.99, 291.31°)
OKLaboklab(60.2% 0.0032 -0.1595)
OKLCHoklch(60.2% 0.16 271.1)
XYZxyz(24.6310, 20.9524, 72.5440)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77DF #DFC75F
analogous
#5FB7DF #5F77DF #875FDF
triadic
#5F77DF #DF5F77 #77DF5F
tetradic
#5F77DF #DF5FB7 #DFC75F #5FDF87
square
#5F77DF #DF5FB7 #DFC75F #5FDF87
split-complementary
#5F77DF #DF875F #B7DF5F
monochromatic
#2139A3 #2C4CD5 #5F77DF #92A2E9 #C5CEF3

Accessibility & contrast

On white

4.05
#5F77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5F77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77DF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77DF#FFFFFF#000000##000000
##5F77DF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f77df;
/* rgb */ color: rgb(95, 119, 223);
/* oklch */ color: oklch(60.2% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#969de9',
    500: '#5f77df',
    950: '#000000',
  },
}
SCSS
$custom: #5f77df;
$custom-light: #969de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77df",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 228.75,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.15952,
    "h": 271.1
  },
  "luminance": 0.20954
}

Semantic roles & 50–950 ramp

primary
#5F77DF
secondary
#E4DCB6
accent
#AC17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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