#7898FB#7898FB

#7898FB is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.150 H 268.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7898FB
RGBrgb(120, 152, 251)
HSLhsl(225, 94%, 73%)
HSVhsv(225, 52%, 98%)
CMYKcmyk(52.2%, 39.4%, 0%, 1.6%)
CIE-LABlab(64.49, 16.08, -52.85)
CIE-LCHlch(64.49, 55.24, 286.92°)
OKLaboklab(69.96% -0.0031 -0.1497)
OKLCHoklch(69.96% 0.15 268.8)
XYZxyz(36.3808, 33.4120, 95.7802)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898FB #FBDB78
analogous
#78D9FB #7898FB #9A78FB
triadic
#7898FB #FB7898 #98FB78
tetradic
#7898FB #FB78D9 #FBDB78 #78FB9A
square
#7898FB #FB78D9 #FBDB78 #78FB9A
split-complementary
#7898FB #FB9A78 #D9FB78
monochromatic
#0740F1 #3D6BF9 #7898FB #B3C5FD #E1E8FE

Accessibility & contrast

On white

2.73
#7898FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7898FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898FB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898FB#FFFFFF#000000##000000
##7898FB1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#38ADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7898fb;
/* rgb */ color: rgb(120, 152, 251);
/* oklch */ color: oklch(70.0% 0.150 268.8);
Tailwind
colors: {
  custom: {
    50: '#a7b6fd',
    500: '#7898fb',
    950: '#000000',
  },
}
SCSS
$custom: #7898fb;
$custom-light: #a7b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7898fb",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 225.344,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69959,
    "c": 0.14978,
    "h": 268.8
  },
  "luminance": 0.33415
}

Semantic roles & 50–950 ramp

primary
#7898FB
secondary
#F6EED5
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7898FB

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

Preview Lab → · Contrast checker → · Palette generator →

#7898FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva