#5F78DA#5F78DA

#5F78DA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.151 H 270.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F78DA
RGBrgb(95, 120, 218)
HSLhsl(228, 62%, 61%)
HSVhsv(228, 56%, 85%)
CMYKcmyk(56.4%, 45%, 0%, 14.5%)
CIE-LABlab(52.87, 19.56, -53.12)
CIE-LCHlch(52.87, 56.61, 290.22°)
OKLaboklab(60.09% 0.0014 -0.1513)
OKLCHoklch(60.09% 0.151 270.5)
XYZxyz(24.0865, 20.9260, 69.0859)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78DA #DAC15F
analogous
#5FB6DA #5F78DA #845FDA
triadic
#5F78DA #DA5F78 #78DA5F
tetradic
#5F78DA #DA5FB6 #DAC15F #5FDA84
square
#5F78DA #DA5FB6 #DAC15F #5FDA84
split-complementary
#5F78DA #DA845F #B6DA5F
monochromatic
#243C9B #2F4FCD #5F78DA #91A2E5 #C2CCF1

Accessibility & contrast

On white

4.05
#5F78DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5F78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78DA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78DA#FFFFFF#000000##000000
##5F78DA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#0D8E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f78da;
/* rgb */ color: rgb(95, 120, 218);
/* oklch */ color: oklch(60.1% 0.151 270.5);
Tailwind
colors: {
  custom: {
    50: '#959ee6',
    500: '#5f78da',
    950: '#000000',
  },
}
SCSS
$custom: #5f78da;
$custom-light: #959ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78da",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 227.805,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.15135,
    "h": 270.5
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

primary
#5F78DA
secondary
#E1D8B3
accent
#A71BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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