#7998EA#7998EA

#7998EA is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.1% C 0.126 H 267.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7998EA
RGBrgb(121, 152, 234)
HSLhsl(224, 73%, 70%)
HSVhsv(224, 48%, 92%)
CMYKcmyk(48.3%, 35%, 0%, 8.2%)
CIE-LABlab(63.72, 11.17, -44.73)
CIE-LCHlch(63.72, 46.11, 284.02°)
OKLaboklab(69.11% -0.0058 -0.126)
OKLCHoklch(69.11% 0.126 267.4)
XYZxyz(33.9599, 32.4598, 82.3018)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998EA #EACB79
analogous
#79D0EA #7998EA #9379EA
triadic
#7998EA #EA7998 #98EA79
tetradic
#7998EA #EA79D0 #EACB79 #79EA93
square
#7998EA #EA79D0 #EACB79 #79EA93
split-complementary
#7998EA #EA9379 #D0EA79
monochromatic
#204EC9 #446FE2 #7998EA #AEC1F2 #E3E9FB

Accessibility & contrast

On white

2.80
#7998EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7998EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998EA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998EA#FFFFFF#000000##000000
##7998EA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7998ea;
/* rgb */ color: rgb(121, 152, 234);
/* oklch */ color: oklch(69.1% 0.126 267.4);
Tailwind
colors: {
  custom: {
    50: '#a5b6f1',
    500: '#7998ea',
    950: '#000000',
  },
}
SCSS
$custom: #7998ea;
$custom-light: #a5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7998ea",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 223.54,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69107,
    "c": 0.12618,
    "h": 267.4
  },
  "luminance": 0.32462
}

Semantic roles & 50–950 ramp

primary
#7998EA
secondary
#F0E7CF
accent
#9F11D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7998EA

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

Preview Lab → · Contrast checker → · Palette generator →

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