#78A1F8#78A1F8

#78A1F8 is a light, vivid blue. Relative luminance 0.363; OKLCH L 71.6% C 0.135 H 264.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#78A1F8
RGBrgb(120, 161, 248)
HSLhsl(221, 90%, 72%)
HSVhsv(221, 52%, 97%)
CMYKcmyk(51.6%, 35.1%, 0%, 2.7%)
CIE-LABlab(66.72, 9.95, -47.70)
CIE-LCHlch(66.72, 48.73, 281.78°)
OKLaboklab(71.63% -0.0138 -0.1346)
OKLCHoklch(71.63% 0.135 264.1)
XYZxyz(37.4282, 36.2574, 93.8148)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A1F8 #F8CF78
analogous
#78E1F8 #78A1F8 #8F78F8
triadic
#78A1F8 #F878A1 #A1F878
tetradic
#78A1F8 #F878E1 #F8CF78 #78F88F
square
#78A1F8 #F878E1 #F8CF78 #78F88F
split-complementary
#78A1F8 #F88F78 #E1F878
monochromatic
#0C53E9 #3E78F5 #78A1F8 #B2CAFB #E2EBFD

Accessibility & contrast

On white

2.54
#78A1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#78A1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A1F8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A1F8#FFFFFF#000000##000000
##78A1F81.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#39B4C1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #78a1f8;
/* rgb */ color: rgb(120, 161, 248);
/* oklch */ color: oklch(71.6% 0.135 264.1);
Tailwind
colors: {
  custom: {
    50: '#a6bcfb',
    500: '#78a1f8',
    950: '#000000',
  },
}
SCSS
$custom: #78a1f8;
$custom-light: #a6bcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#78a1f8",
  "rgb": {
    "r": 120,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 220.781,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.13535,
    "h": 264.1
  },
  "luminance": 0.3626
}

Semantic roles & 50–950 ramp

primary
#78A1F8
secondary
#F6EBD5
accent
#9C00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #78A1F8

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

Preview Lab → · Contrast checker → · Palette generator →

#78A1F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva