#7899EB#7899EB

#7899EB is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.3% C 0.127 H 266.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7899EB
RGBrgb(120, 153, 235)
HSLhsl(223, 74%, 70%)
HSVhsv(223, 49%, 92%)
CMYKcmyk(48.9%, 34.9%, 0%, 7.8%)
CIE-LABlab(63.98, 10.66, -44.89)
CIE-LCHlch(63.98, 46.14, 283.36°)
OKLaboklab(69.3% -0.0077 -0.1265)
OKLCHoklch(69.3% 0.127 266.5)
XYZxyz(34.1275, 32.7715, 83.1084)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899EB #EBCA78
analogous
#78D2EB #7899EB #9178EB
triadic
#7899EB #EB7899 #99EB78
tetradic
#7899EB #EB78D2 #EBCA78 #78EB91
square
#7899EB #EB78D2 #EBCA78 #78EB91
split-complementary
#7899EB #EB9178 #D2EB78
monochromatic
#1E50CB #4371E3 #7899EB #ADC1F3 #E3EAFB

Accessibility & contrast

On white

2.78
#7899EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7899EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899EB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899EB#FFFFFF#000000##000000
##7899EB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#47AAB7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7899eb;
/* rgb */ color: rgb(120, 153, 235);
/* oklch */ color: oklch(69.3% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#a5b6f2',
    500: '#7899eb',
    950: '#000000',
  },
}
SCSS
$custom: #7899eb;
$custom-light: #a5b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7899eb",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 222.783,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69304,
    "c": 0.12675,
    "h": 266.5
  },
  "luminance": 0.32774
}

Semantic roles & 50–950 ramp

primary
#7899EB
secondary
#F0E6CF
accent
#9D0FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899EB

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

Preview Lab → · Contrast checker → · Palette generator →

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