#7895F8#7895F8

#7895F8 is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.2% C 0.149 H 269.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7895F8
RGBrgb(120, 149, 248)
HSLhsl(226, 90%, 72%)
HSVhsv(226, 52%, 97%)
CMYKcmyk(51.6%, 39.9%, 0%, 2.7%)
CIE-LABlab(63.56, 16.92, -52.69)
CIE-LCHlch(63.56, 55.34, 287.80°)
OKLaboklab(69.19% -0.0004 -0.1493)
OKLCHoklch(69.19% 0.149 269.9)
XYZxyz(35.4309, 32.2629, 93.1491)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7895F8 #F8DB78
analogous
#78D5F8 #7895F8 #9B78F8
triadic
#7895F8 #F87895 #95F878
tetradic
#7895F8 #F878D5 #F8DB78 #78F89B
square
#7895F8 #F878D5 #F8DB78 #78F89B
split-complementary
#7895F8 #F89B78 #D5F878
monochromatic
#0C3EE9 #3E67F5 #7895F8 #B2C3FB #E2E8FD

Accessibility & contrast

On white

2.82
#7895F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7895F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7895F8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7895F8#FFFFFF#000000##000000
##7895F81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#3CAABA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7895f8;
/* rgb */ color: rgb(120, 149, 248);
/* oklch */ color: oklch(69.2% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#a6b3fb',
    500: '#7895f8',
    950: '#000000',
  },
}
SCSS
$custom: #7895f8;
$custom-light: #a6b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7895f8",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 226.406,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.1493,
    "h": 269.9
  },
  "luminance": 0.32265
}

Semantic roles & 50–950 ramp

primary
#7895F8
secondary
#F6EED5
accent
#B200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7895F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7895F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva