#7898FC#7898FC

#7898FC is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.151 H 268.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7898FC
RGBrgb(120, 152, 252)
HSLhsl(225, 96%, 73%)
HSVhsv(225, 52%, 99%)
CMYKcmyk(52.4%, 39.7%, 0%, 1.2%)
CIE-LABlab(64.54, 16.39, -53.32)
CIE-LCHlch(64.54, 55.78, 287.09°)
OKLaboklab(70.02% -0.0029 -0.1511)
OKLCHoklch(70.02% 0.151 268.9)
XYZxyz(36.5389, 33.4753, 96.6125)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898FC #FCDC78
analogous
#78DAFC #7898FC #9A78FC
triadic
#7898FC #FC7898 #98FC78
tetradic
#7898FC #FC78DA #FCDC78 #78FC9A
square
#7898FC #FC78DA #FCDC78 #78FC9A
split-complementary
#7898FC #FC9A78 #DAFC78
monochromatic
#053FF4 #3C6AFB #7898FC #B4C6FD #E1E8FE

Accessibility & contrast

On white

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

On black

7.70
#7898FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898FC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898FC#FFFFFF#000000##000000
##7898FC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#37AEBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7898fc;
/* rgb */ color: rgb(120, 152, 252);
/* oklch */ color: oklch(70.0% 0.151 268.9);
Tailwind
colors: {
  custom: {
    50: '#a7b6fe',
    500: '#7898fc',
    950: '#000000',
  },
}
SCSS
$custom: #7898fc;
$custom-light: #a7b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7898fc",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 225.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.15114,
    "h": 268.9
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#7898FC
secondary
#F7EED4
accent
#AE00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7898FC

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

Preview Lab → · Contrast checker → · Palette generator →

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