#7899FC#7899FC

#7899FC is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.2% C 0.150 H 268.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7899FC
RGBrgb(120, 153, 252)
HSLhsl(225, 96%, 73%)
HSVhsv(225, 52%, 99%)
CMYKcmyk(52.4%, 39.3%, 0%, 1.2%)
CIE-LABlab(64.80, 15.80, -52.90)
CIE-LCHlch(64.80, 55.21, 286.63°)
OKLaboklab(70.22% -0.004 -0.1499)
OKLCHoklch(70.22% 0.15 268.5)
XYZxyz(36.7019, 33.8012, 96.6669)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899FC #FCDB78
analogous
#78DBFC #7899FC #9978FC
triadic
#7899FC #FC7899 #99FC78
tetradic
#7899FC #FC78DB #FCDB78 #78FC99
square
#7899FC #FC78DB #FCDB78 #78FC99
split-complementary
#7899FC #FC9978 #DBFC78
monochromatic
#0541F4 #3C6CFB #7899FC #B4C6FD #E1E8FE

Accessibility & contrast

On white

2.71
#7899FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7899FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899FC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899FC#FFFFFF#000000##000000
##7899FC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#36AEBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899fc;
/* rgb */ color: rgb(120, 153, 252);
/* oklch */ color: oklch(70.2% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#a7b6fe',
    500: '#7899fc',
    950: '#000000',
  },
}
SCSS
$custom: #7899fc;
$custom-light: #a7b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7899fc",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 225,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.14994,
    "h": 268.5
  },
  "luminance": 0.33804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7899FC

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

Preview Lab → · Contrast checker → · Palette generator →

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