#7898CA#7898CA

#7898CA is a light, moderate blue. Relative luminance 0.307; OKLCH L 67.5% C 0.083 H 259.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7898CA
RGBrgb(120, 152, 202)
HSLhsl(217, 44%, 63%)
HSVhsv(217, 41%, 79%)
CMYKcmyk(40.6%, 24.8%, 0%, 20.8%)
CIE-LABlab(62.26, 1.69, -29.24)
CIE-LCHlch(62.26, 29.29, 273.30°)
OKLaboklab(67.5% -0.0156 -0.0813)
OKLCHoklch(67.5% 0.083 259.1)
XYZxyz(29.6313, 30.7122, 60.2324)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7898CA #CAAA78
analogous
#78C1CA #7898CA #8178CA
triadic
#7898CA #CA7898 #98CA78
tetradic
#7898CA #CA78C1 #CAAA78 #78CA81
square
#7898CA #CA78C1 #CAAA78 #78CA81
split-complementary
#7898CA #CA8178 #C1CA78
monochromatic
#385A8F #4C76B9 #7898CA #A4BADB #D0DBED

Accessibility & contrast

On white

2.94
#7898CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7898CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7898CA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7898CA#FFFFFF#000000##000000
##7898CA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#7D93C9
Tritanopia (blue-blind)
#5CA3A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7898ca;
/* rgb */ color: rgb(120, 152, 202);
/* oklch */ color: oklch(67.5% 0.083 259.1);
Tailwind
colors: {
  custom: {
    50: '#a2b6da',
    500: '#7898ca',
    950: '#000000',
  },
}
SCSS
$custom: #7898ca;
$custom-light: #a2b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#7898ca",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 216.585,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.0828,
    "h": 259.1
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#7898CA
secondary
#DED2C0
accent
#822FB7
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7898CA

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

Preview Lab → · Contrast checker → · Palette generator →

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