#7898E5#7898E5

#7898E5 is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.8% C 0.120 H 266.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7898E5
RGBrgb(120, 152, 229)
HSLhsl(222, 68%, 68%)
HSVhsv(222, 48%, 90%)
CMYKcmyk(47.6%, 33.6%, 0%, 10.2%)
CIE-LABlab(63.43, 9.45, -42.44)
CIE-LCHlch(63.43, 43.48, 282.56°)
OKLaboklab(68.79% -0.008 -0.1194)
OKLCHoklch(68.79% 0.12 266.2)
XYZxyz(33.1122, 32.1046, 78.5655)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898E5 #E5C578
analogous
#78CFE5 #7898E5 #8E78E5
triadic
#7898E5 #E57898 #98E578
tetradic
#7898E5 #E578CF #E5C578 #78E58E
square
#7898E5 #E578CF #E5C578 #78E58E
split-complementary
#7898E5 #E58E78 #CFE578
monochromatic
#2552BE #4571DB #7898E5 #ABBFEF #DFE6F9

Accessibility & contrast

On white

2.83
#7898E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7898E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898E5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898E5#FFFFFF#000000##000000
##7898E51.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FE8
Deuteranopia (green-blind)
#7095E3
Tritanopia (blue-blind)
#4CA8B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7898e5;
/* rgb */ color: rgb(120, 152, 229);
/* oklch */ color: oklch(68.8% 0.120 266.2);
Tailwind
colors: {
  custom: {
    50: '#a4b6ed',
    500: '#7898e5',
    950: '#000000',
  },
}
SCSS
$custom: #7898e5;
$custom-light: #a4b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7898e5",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 222.385,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.11966,
    "h": 266.2
  },
  "luminance": 0.32107
}

Semantic roles & 50–950 ramp

primary
#7898E5
secondary
#EDE3CC
accent
#9916D0
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7898E5

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

Preview Lab → · Contrast checker → · Palette generator →

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