#7E98DC#7E98DC

#7E98DC is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.7% C 0.105 H 267.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7E98DC
RGBrgb(126, 152, 220)
HSLhsl(223, 57%, 68%)
HSVhsv(223, 43%, 86%)
CMYKcmyk(42.7%, 30.9%, 0%, 13.7%)
CIE-LABlab(63.39, 8.32, -37.49)
CIE-LCHlch(63.39, 38.40, 282.51°)
OKLaboklab(68.72% -0.0044 -0.1049)
OKLCHoklch(68.72% 0.105 267.6)
XYZxyz(32.7466, 32.0576, 72.1585)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98DC #DCC27E
analogous
#7EC7DC #7E98DC #937EDC
triadic
#7E98DC #DC7E98 #98DC7E
tetradic
#7E98DC #DC7EC7 #DCC27E #7EDC93
square
#7E98DC #DC7EC7 #DCC27E #7EDC93
split-complementary
#7E98DC #DC937E #C7DC7E
monochromatic
#3053B0 #4E72CF #7E98DC #AEBEE9 #DEE5F6

Accessibility & contrast

On white

2.83
#7E98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7E98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98DC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98DC#FFFFFF#000000##000000
##7E98DC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#7796DA
Tritanopia (blue-blind)
#5DA6B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7e98dc;
/* rgb */ color: rgb(126, 152, 220);
/* oklch */ color: oklch(68.7% 0.105 267.6);
Tailwind
colors: {
  custom: {
    50: '#a7b6e7',
    500: '#7e98dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e98dc;
$custom-light: #a7b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98dc",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 223.404,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68722,
    "c": 0.10504,
    "h": 267.6
  },
  "luminance": 0.32059
}

Semantic roles & 50–950 ramp

primary
#7E98DC
secondary
#E9E1CC
accent
#9721C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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