#7898EA#7898EA

#7898EA is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.0% C 0.127 H 266.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7898EA
RGBrgb(120, 152, 234)
HSLhsl(223, 73%, 69%)
HSVhsv(223, 49%, 92%)
CMYKcmyk(48.7%, 35%, 0%, 8.2%)
CIE-LABlab(63.66, 10.94, -44.83)
CIE-LCHlch(63.66, 46.15, 283.71°)
OKLaboklab(69.05% -0.0068 -0.1263)
OKLCHoklch(69.05% 0.127 266.9)
XYZxyz(33.8204, 32.3879, 82.2953)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898EA #EACA78
analogous
#78D1EA #7898EA #9178EA
triadic
#7898EA #EA7898 #98EA78
tetradic
#7898EA #EA78D1 #EACA78 #78EA91
square
#7898EA #EA78D1 #EACA78 #78EA91
split-complementary
#7898EA #EA9178 #D1EA78
monochromatic
#1F4FC8 #4370E2 #7898EA #ADC0F2 #E2E9FA

Accessibility & contrast

On white

2.81
#7898EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7898EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898EA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898EA#FFFFFF#000000##000000
##7898EA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#48A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7898ea;
/* rgb */ color: rgb(120, 152, 234);
/* oklch */ color: oklch(69.0% 0.127 266.9);
Tailwind
colors: {
  custom: {
    50: '#a5b6f1',
    500: '#7898ea',
    950: '#000000',
  },
}
SCSS
$custom: #7898ea;
$custom-light: #a5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7898ea",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 223.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69046,
    "c": 0.12653,
    "h": 266.9
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

primary
#7898EA
secondary
#EFE6CE
accent
#9E10D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7898EA

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

Preview Lab → · Contrast checker → · Palette generator →

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