#5F78F8#5F78F8

#5F78F8 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.1% C 0.192 H 271.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F78F8
RGBrgb(95, 120, 248)
HSLhsl(230, 92%, 67%)
HSVhsv(230, 62%, 97%)
CMYKcmyk(61.7%, 51.6%, 0%, 2.7%)
CIE-LABlab(54.70, 29.42, -66.95)
CIE-LCHlch(54.70, 73.13, 293.72°)
OKLaboklab(62.06% 0.0047 -0.192)
OKLCHoklch(62.06% 0.192 271.4)
XYZxyz(28.3734, 22.6407, 91.6636)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78F8 #F8DF5F
analogous
#5FC5F8 #5F78F8 #935FF8
triadic
#5F78F8 #F85F78 #78F85F
tetradic
#5F78F8 #F85FC5 #F8DF5F #5FF893
square
#5F78F8 #F85FC5 #F8DF5F #5FF893
split-complementary
#5F78F8 #F8935F #C5F85F
monochromatic
#092AD3 #2447F5 #5F78F8 #9AA9FB #D4DBFD

Accessibility & contrast

On white

3.80
#5F78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5F78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78F8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78F8#FFFFFF#000000##000000
##5F78F81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f78f8;
/* rgb */ color: rgb(95, 120, 248);
/* oklch */ color: oklch(62.1% 0.192 271.4);
Tailwind
colors: {
  custom: {
    50: '#9a9efb',
    500: '#5f78f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f78f8;
$custom-light: #9a9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78f8",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 230.196,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62064,
    "c": 0.19206,
    "h": 271.4
  },
  "luminance": 0.22643
}

Semantic roles & 50–950 ramp

primary
#5F78F8
secondary
#F2EAC1
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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