#7E98CA#7E98CA

#7E98CA is a light, moderate blue. Relative luminance 0.312; OKLCH L 67.9% C 0.080 H 263.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7E98CA
RGBrgb(126, 152, 202)
HSLhsl(219, 42%, 64%)
HSVhsv(219, 38%, 79%)
CMYKcmyk(37.6%, 24.8%, 0%, 20.8%)
CIE-LABlab(62.64, 3.32, -28.63)
CIE-LCHlch(62.64, 28.82, 276.61°)
OKLaboklab(67.89% -0.0096 -0.0795)
OKLCHoklch(67.89% 0.08 263.1)
XYZxyz(30.4898, 31.1549, 60.2726)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98CA #CAB07E
analogous
#7EBECA #7E98CA #8A7ECA
triadic
#7E98CA #CA7E98 #98CA7E
tetradic
#7E98CA #CA7EBE #CAB07E #7ECA8A
square
#7E98CA #CA7EBE #CAB07E #7ECA8A
split-complementary
#7E98CA #CA8A7E #BECA7E
monochromatic
#3C5992 #5375B8 #7E98CA #A9BBDC #D5DDEE

Accessibility & contrast

On white

2.90
#7E98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7E98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98CA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98CA#FFFFFF#000000##000000
##7E98CA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCC
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#66A2A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e98ca;
/* rgb */ color: rgb(126, 152, 202);
/* oklch */ color: oklch(67.9% 0.080 263.1);
Tailwind
colors: {
  custom: {
    50: '#a6b6da',
    500: '#7e98ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e98ca;
$custom-light: #a6b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98ca",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 219.474,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.08008,
    "h": 263.1
  },
  "luminance": 0.31156
}

Semantic roles & 50–950 ramp

primary
#7E98CA
secondary
#DFD6C5
accent
#8831B5
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#0F1114
muted
#7F8083

Preview Lab

Preview with #7E98CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7E98CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva