#5F77DB#5F77DB

#5F77DB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.154 H 271.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F77DB
RGBrgb(95, 119, 219)
HSLhsl(228, 63%, 62%)
HSVhsv(228, 57%, 86%)
CMYKcmyk(56.6%, 45.7%, 0%, 14.1%)
CIE-LABlab(52.66, 20.50, -54.01)
CIE-LCHlch(52.66, 57.77, 290.78°)
OKLaboklab(59.95% 0.0026 -0.154)
OKLCHoklch(59.95% 0.154 271)
XYZxyz(24.0981, 20.7392, 69.7373)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F77DB #DBC35F
analogous
#5FB5DB #5F77DB #855FDB
triadic
#5F77DB #DB5F77 #77DB5F
tetradic
#5F77DB #DB5FB5 #DBC35F #5FDB85
square
#5F77DB #DB5FB5 #DBC35F #5FDB85
split-complementary
#5F77DB #DB855F #B5DB5F
monochromatic
#233B9C #2E4DCE #5F77DB #91A1E6 #C3CCF1

Accessibility & contrast

On white

4.08
#5F77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5F77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F77DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F77DB#FFFFFF#000000##000000
##5F77DB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#098D9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f77db;
/* rgb */ color: rgb(95, 119, 219);
/* oklch */ color: oklch(59.9% 0.154 271.0);
Tailwind
colors: {
  custom: {
    50: '#969de7',
    500: '#5f77db',
    950: '#000000',
  },
}
SCSS
$custom: #5f77db;
$custom-light: #969de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f77db",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 228.387,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.15399,
    "h": 271
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#5F77DB
secondary
#E2D9B4
accent
#A91ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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