#5F78AC#5F78AC

#5F78AC is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.5% C 0.086 H 264.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F78AC
RGBrgb(95, 120, 172)
HSLhsl(221, 32%, 52%)
HSVhsv(221, 45%, 67%)
CMYKcmyk(44.8%, 30.2%, 0%, 32.5%)
CIE-LABlab(50.50, 5.08, -30.54)
CIE-LCHlch(50.50, 30.96, 279.45°)
OKLaboklab(57.49% -0.0087 -0.0855)
OKLCHoklch(57.49% 0.086 264.2)
XYZxyz(18.8798, 18.8433, 41.6640)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78AC #AC935F
analogous
#5F9FAC #5F78AC #6C5FAC
triadic
#5F78AC #AC5F78 #78AC5F
tetradic
#5F78AC #AC5F9F #AC935F #5FAC6C
square
#5F78AC #AC5F9F #AC935F #5FAC6C
split-complementary
#5F78AC #AC6C5F #9FAC5F
monochromatic
#31405F #465B88 #5F78AC #879AC1 #B0BCD6

Accessibility & contrast

On white

4.40
#5F78AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5F78AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78AC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78AC#FFFFFF#000000##000000
##5F78AC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#43838A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f78ac;
/* rgb */ color: rgb(95, 120, 172);
/* oklch */ color: oklch(57.5% 0.086 264.2);
Tailwind
colors: {
  custom: {
    50: '#909ec5',
    500: '#5f78ac',
    950: '#000000',
  },
}
SCSS
$custom: #5f78ac;
$custom-light: #909ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78ac",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 220.519,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.0859,
    "h": 264.2
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#5F78AC
secondary
#C4B9A3
accent
#A660C8
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F78AC

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

Preview Lab → · Contrast checker → · Palette generator →

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