#5F78A5#5F78A5

#5F78A5 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.1% C 0.076 H 261.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F78A5
RGBrgb(95, 120, 165)
HSLhsl(219, 28%, 51%)
HSVhsv(219, 42%, 65%)
CMYKcmyk(42.4%, 27.3%, 0%, 35.3%)
CIE-LABlab(50.19, 3.01, -26.95)
CIE-LCHlch(50.19, 27.12, 276.36°)
OKLaboklab(57.15% -0.0108 -0.0751)
OKLCHoklch(57.15% 0.076 261.8)
XYZxyz(18.2252, 18.5814, 38.2163)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78A5 #A58C5F
analogous
#5F9BA5 #5F78A5 #695FA5
triadic
#5F78A5 #A55F78 #78A55F
tetradic
#5F78A5 #A55F9B #A58C5F #5FA569
square
#5F78A5 #A55F9B #A58C5F #5FA569
split-complementary
#5F78A5 #A5695F #9BA55F
monochromatic
#323F58 #485B7F #5F78A5 #8699BB #ADBAD1

Accessibility & contrast

On white

4.45
#5F78A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5F78A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78A5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78A5#FFFFFF#000000##000000
##5F78A51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#468288
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f78a5;
/* rgb */ color: rgb(95, 120, 165);
/* oklch */ color: oklch(57.1% 0.076 261.8);
Tailwind
colors: {
  custom: {
    50: '#8f9ec0',
    500: '#5f78a5',
    950: '#000000',
  },
}
SCSS
$custom: #5f78a5;
$custom-light: #8f9ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78a5",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 165
  },
  "hsl": {
    "h": 218.571,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.07591,
    "h": 261.8
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#5F78A5
secondary
#BFB4A0
accent
#A263C4
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0D0E12
muted
#7D7E81

Preview Lab

Preview with #5F78A5

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

Preview Lab → · Contrast checker → · Palette generator →

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