#5F78EE#5F78EE

#5F78EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.179 H 271.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F78EE
RGBrgb(95, 120, 238)
HSLhsl(230, 81%, 65%)
HSVhsv(230, 60%, 93%)
CMYKcmyk(60.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(54.07, 26.12, -62.42)
CIE-LCHlch(54.07, 67.66, 292.71°)
OKLaboklab(61.38% 0.0039 -0.1787)
OKLCHoklch(61.38% 0.179 271.2)
XYZxyz(26.8633, 22.0367, 83.7102)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78EE #EED55F
analogous
#5FC0EE #5F78EE #8D5FEE
triadic
#5F78EE #EE5F78 #78EE5F
tetradic
#5F78EE #EE5FC0 #EED55F #5FEE8D
square
#5F78EE #EE5FC0 #EED55F #5FEE8D
split-complementary
#5F78EE #EE8D5F #C0EE5F
monochromatic
#1432BE #2849E8 #5F78EE #96A7F4 #CED5FA

Accessibility & contrast

On white

3.88
#5F78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5F78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78EE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78EE#FFFFFF#000000##000000
##5F78EE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#177BEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f78ee;
/* rgb */ color: rgb(95, 120, 238);
/* oklch */ color: oklch(61.4% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#989ef4',
    500: '#5f78ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f78ee;
$custom-light: #989ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78ee",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 229.51,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.1787,
    "h": 271.2
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#5F78EE
secondary
#ECE4BC
accent
#B808DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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