#7898CE#7898CE

#7898CE is a light, moderate blue. Relative luminance 0.309; OKLCH L 67.7% C 0.088 H 260.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7898CE
RGBrgb(120, 152, 206)
HSLhsl(218, 47%, 64%)
HSVhsv(218, 42%, 81%)
CMYKcmyk(41.7%, 26.2%, 0%, 19.2%)
CIE-LABlab(62.43, 2.81, -31.23)
CIE-LCHlch(62.43, 31.35, 275.14°)
OKLaboklab(67.68% -0.0144 -0.087)
OKLCHoklch(67.68% 0.088 260.6)
XYZxyz(30.1110, 30.9041, 62.7590)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898CE #CEAE78
analogous
#78C3CE #7898CE #8378CE
triadic
#7898CE #CE7898 #98CE78
tetradic
#7898CE #CE78C3 #CEAE78 #78CE83
square
#7898CE #CE78C3 #CEAE78 #78CE83
split-complementary
#7898CE #CE8378 #C3CE78
monochromatic
#365A95 #4B76BE #7898CE #A5BADE #D2DDEF

Accessibility & contrast

On white

2.92
#7898CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7898CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898CE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898CE#FFFFFF#000000##000000
##7898CE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BD0
Deuteranopia (green-blind)
#7B93CD
Tritanopia (blue-blind)
#5AA3AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7898ce;
/* rgb */ color: rgb(120, 152, 206);
/* oklch */ color: oklch(67.7% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#a2b6dd',
    500: '#7898ce',
    950: '#000000',
  },
}
SCSS
$custom: #7898ce;
$custom-light: #a2b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7898ce",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 217.674,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.08819,
    "h": 260.6
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

primary
#7898CE
secondary
#E0D5C2
accent
#852CBA
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7898CE

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

Preview Lab → · Contrast checker → · Palette generator →

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