#7898DA#7898DA

#7898DA is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.2% C 0.105 H 264.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7898DA
RGBrgb(120, 152, 218)
HSLhsl(220, 57%, 66%)
HSVhsv(220, 45%, 85%)
CMYKcmyk(45%, 30.3%, 0%, 14.5%)
CIE-LABlab(62.94, 6.23, -37.12)
CIE-LCHlch(62.94, 37.64, 279.53°)
OKLaboklab(68.24% -0.0109 -0.104)
OKLCHoklch(68.24% 0.105 264)
XYZxyz(31.6248, 31.5096, 70.7316)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898DA #DABA78
analogous
#78C9DA #7898DA #8978DA
triadic
#7898DA #DA7898 #98DA78
tetradic
#7898DA #DA78C9 #DABA78 #78DA89
square
#7898DA #DA78C9 #DABA78 #78DA89
split-complementary
#7898DA #DA8978 #C9DA78
monochromatic
#2E56A9 #4873CD #7898DA #A8BDE7 #D8E1F4

Accessibility & contrast

On white

2.88
#7898DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#7898DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898DA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898DA#FFFFFF#000000##000000
##7898DA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809DDD
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#53A6AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7898da;
/* rgb */ color: rgb(120, 152, 218);
/* oklch */ color: oklch(68.2% 0.105 264.0);
Tailwind
colors: {
  custom: {
    50: '#a3b6e5',
    500: '#7898da',
    950: '#000000',
  },
}
SCSS
$custom: #7898da;
$custom-light: #a3b6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7898da",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 220.408,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68244,
    "c": 0.10454,
    "h": 264
  },
  "luminance": 0.31511
}

Semantic roles & 50–950 ramp

primary
#7898DA
secondary
#E7DCC7
accent
#8F21C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #7898DA

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

Preview Lab → · Contrast checker → · Palette generator →

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