#5F78BC#5F78BC

#5F78BC is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.3% C 0.109 H 267.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F78BC
RGBrgb(95, 120, 188)
HSLhsl(224, 41%, 55%)
HSVhsv(224, 49%, 74%)
CMYKcmyk(49.5%, 36.2%, 0%, 26.3%)
CIE-LABlab(51.26, 9.98, -38.59)
CIE-LCHlch(51.26, 39.86, 284.50°)
OKLaboklab(58.33% -0.0044 -0.1088)
OKLCHoklch(58.33% 0.109 267.7)
XYZxyz(20.5099, 19.4954, 50.2494)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78BC #BCA35F
analogous
#5FA6BC #5F78BC #745FBC
triadic
#5F78BC #BC5F78 #78BC5F
tetradic
#5F78BC #BC5FA6 #BCA35F #5FBC74
square
#5F78BC #BC5FA6 #BCA35F #5FBC74
split-complementary
#5F78BC #BC745F #A6BC5F
monochromatic
#2F4171 #415A9C #5F78BC #8A9CCE #B5C1E0

Accessibility & contrast

On white

4.29
#5F78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5F78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78BC#FFFFFF#000000##000000
##5F78BC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#388691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f78bc;
/* rgb */ color: rgb(95, 120, 188);
/* oklch */ color: oklch(58.3% 0.109 267.7);
Tailwind
colors: {
  custom: {
    50: '#929ed0',
    500: '#5f78bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f78bc;
$custom-light: #929ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78bc",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 223.871,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58328,
    "c": 0.1089,
    "h": 267.7
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#5F78BC
secondary
#CFC4A8
accent
#B057D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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