#7899DC#7899DC

#7899DC is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.6% C 0.106 H 263.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7899DC
RGBrgb(120, 153, 220)
HSLhsl(220, 59%, 67%)
HSVhsv(220, 45%, 86%)
CMYKcmyk(45.5%, 30.5%, 0%, 13.7%)
CIE-LABlab(63.29, 6.24, -37.67)
CIE-LCHlch(63.29, 38.18, 279.40°)
OKLaboklab(68.55% -0.0116 -0.1056)
OKLCHoklch(68.55% 0.106 263.8)
XYZxyz(32.0511, 31.9409, 72.1726)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899DC #DCBB78
analogous
#78CBDC #7899DC #8978DC
triadic
#7899DC #DC7899 #99DC78
tetradic
#7899DC #DC78CB #DCBB78 #78DC89
square
#7899DC #DC78CB #DCBB78 #78DC89
split-complementary
#7899DC #DC8978 #CBDC78
monochromatic
#2D57AD #4774CF #7899DC #A9BEE9 #D9E2F5

Accessibility & contrast

On white

2.84
#7899DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7899DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899DC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899DC#FFFFFF#000000##000000
##7899DC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#7695DB
Tritanopia (blue-blind)
#52A7B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7899dc;
/* rgb */ color: rgb(120, 153, 220);
/* oklch */ color: oklch(68.6% 0.106 263.8);
Tailwind
colors: {
  custom: {
    50: '#a3b6e7',
    500: '#7899dc',
    950: '#000000',
  },
}
SCSS
$custom: #7899dc;
$custom-light: #a3b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7899dc",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 220.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68551,
    "c": 0.10619,
    "h": 263.8
  },
  "luminance": 0.31943
}

Semantic roles & 50–950 ramp

primary
#7899DC
secondary
#E8DDC8
accent
#8F1FC6
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #7899DC

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

Preview Lab → · Contrast checker → · Palette generator →

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