#5F78BB#5F78BB

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

Color values

HEX#5F78BB
RGBrgb(95, 120, 187)
HSLhsl(224, 40%, 55%)
HSVhsv(224, 49%, 73%)
CMYKcmyk(49.2%, 35.8%, 0%, 26.7%)
CIE-LABlab(51.21, 9.67, -38.09)
CIE-LCHlch(51.21, 39.30, 284.24°)
OKLaboklab(58.27% -0.0047 -0.1074)
OKLCHoklch(58.27% 0.107 267.5)
XYZxyz(20.4025, 19.4524, 49.6837)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78BB #BBA25F
analogous
#5FA6BB #5F78BB #745FBB
triadic
#5F78BB #BB5F78 #78BB5F
tetradic
#5F78BB #BB5FA6 #BBA25F #5FBB74
square
#5F78BB #BB5FA6 #BBA25F #5FBB74
split-complementary
#5F78BB #BB745F #A6BB5F
monochromatic
#304170 #425A9B #5F78BB #8A9CCD #B5C0E0

Accessibility & contrast

On white

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

On black

4.89
#5F78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78BB#FFFFFF#000000##000000
##5F78BB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBE
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#398691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f78bb;
/* rgb */ color: rgb(95, 120, 187);
/* oklch */ color: oklch(58.3% 0.107 267.5);
Tailwind
colors: {
  custom: {
    50: '#919ed0',
    500: '#5f78bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f78bb;
$custom-light: #919ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78bb",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 223.696,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.10746,
    "h": 267.5
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#5F78BB
secondary
#CEC4A8
accent
#AF58D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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