#5F78DE#5F78DE

#5F78DE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.157 H 270.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F78DE
RGBrgb(95, 120, 222)
HSLhsl(228, 66%, 62%)
HSVhsv(228, 57%, 87%)
CMYKcmyk(57.2%, 45.9%, 0%, 12.9%)
CIE-LABlab(53.10, 20.87, -55.00)
CIE-LCHlch(53.10, 58.83, 290.77°)
OKLaboklab(60.34% 0.002 -0.1569)
OKLCHoklch(60.34% 0.157 270.7)
XYZxyz(24.6162, 21.1379, 71.8759)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78DE #DEC55F
analogous
#5FB8DE #5F78DE #865FDE
triadic
#5F78DE #DE5F78 #78DE5F
tetradic
#5F78DE #DE5FB8 #DEC55F #5FDE86
square
#5F78DE #DE5FB8 #DEC55F #5FDE86
split-complementary
#5F78DE #DE865F #B8DE5F
monochromatic
#213AA1 #2C4DD4 #5F78DE #92A3E8 #C4CEF3

Accessibility & contrast

On white

4.02
#5F78DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F78DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78DE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78DE#FFFFFF#000000##000000
##5F78DE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E2
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f78de;
/* rgb */ color: rgb(95, 120, 222);
/* oklch */ color: oklch(60.3% 0.157 270.7);
Tailwind
colors: {
  custom: {
    50: '#969ee9',
    500: '#5f78de',
    950: '#000000',
  },
}
SCSS
$custom: #5f78de;
$custom-light: #969ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78de",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 228.189,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.15688,
    "h": 270.7
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#5F78DE
secondary
#E4DBB5
accent
#AA18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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