#7E98DD#7E98DD

#7E98DD is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.8% C 0.106 H 267.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7E98DD
RGBrgb(126, 152, 221)
HSLhsl(224, 58%, 68%)
HSVhsv(224, 43%, 87%)
CMYKcmyk(43%, 31.2%, 0%, 13.3%)
CIE-LABlab(63.43, 8.60, -37.98)
CIE-LCHlch(63.43, 38.94, 282.77°)
OKLaboklab(68.77% -0.0041 -0.1064)
OKLCHoklch(68.77% 0.106 267.8)
XYZxyz(32.8795, 32.1108, 72.8581)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98DD #DDC37E
analogous
#7EC7DD #7E98DD #937EDD
triadic
#7E98DD #DD7E98 #98DD7E
tetradic
#7E98DD #DD7EC7 #DDC37E #7EDD93
square
#7E98DD #DD7EC7 #DDC37E #7EDD93
split-complementary
#7E98DD #DD937E #C7DD7E
monochromatic
#2F53B2 #4E71D0 #7E98DD #AEBFEA #DFE5F7

Accessibility & contrast

On white

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

On black

7.42
#7E98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98DD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98DD#FFFFFF#000000##000000
##7E98DD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EE0
Deuteranopia (green-blind)
#7696DB
Tritanopia (blue-blind)
#5DA6B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7e98dd;
/* rgb */ color: rgb(126, 152, 221);
/* oklch */ color: oklch(68.8% 0.106 267.8);
Tailwind
colors: {
  custom: {
    50: '#a7b6e8',
    500: '#7e98dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e98dd;
$custom-light: #a7b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98dd",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 223.579,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.10644,
    "h": 267.8
  },
  "luminance": 0.32113
}

Semantic roles & 50–950 ramp

primary
#7E98DD
secondary
#EAE2CD
accent
#9820C6
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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