#7899FE#7899FE

#7899FE is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.3% C 0.153 H 268.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7899FE
RGBrgb(120, 153, 254)
HSLhsl(225, 99%, 73%)
HSVhsv(225, 53%, 100%)
CMYKcmyk(52.8%, 39.8%, 0%, 0.4%)
CIE-LABlab(64.91, 16.42, -53.83)
CIE-LCHlch(64.91, 56.28, 286.96°)
OKLaboklab(70.33% -0.0037 -0.1526)
OKLCHoklch(70.33% 0.153 268.6)
XYZxyz(37.0205, 33.9287, 98.3448)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899FE #FEDD78
analogous
#78DCFE #7899FE #9A78FE
triadic
#7899FE #FE7899 #99FE78
tetradic
#7899FE #FE78DC #FEDD78 #78FE9A
square
#7899FE #FE78DC #FEDD78 #78FE9A
split-complementary
#7899FE #FE9A78 #DCFE78
monochromatic
#023FFA #3B6BFE #7899FE #B5C7FE #E1E8FF

Accessibility & contrast

On white

2.70
#7899FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#7899FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899FE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899FE#FFFFFF#000000##000000
##7899FE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#6098FC
Tritanopia (blue-blind)
#34AFBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7899fe;
/* rgb */ color: rgb(120, 153, 254);
/* oklch */ color: oklch(70.3% 0.153 268.6);
Tailwind
colors: {
  custom: {
    50: '#a7b6ff',
    500: '#7899fe',
    950: '#000000',
  },
}
SCSS
$custom: #7899fe;
$custom-light: #a7b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7899fe",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 225.224,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.15266,
    "h": 268.6
  },
  "luminance": 0.33931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7899FE

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

Preview Lab → · Contrast checker → · Palette generator →

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