#7E98F2#7E98F2

#7E98F2 is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.8% C 0.136 H 270.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7E98F2
RGBrgb(126, 152, 242)
HSLhsl(227, 82%, 72%)
HSVhsv(227, 48%, 95%)
CMYKcmyk(47.9%, 37.2%, 0%, 5.1%)
CIE-LABlab(64.40, 14.71, -48.04)
CIE-LCHlch(64.40, 50.24, 287.02°)
OKLaboklab(69.84% 0.001 -0.1356)
OKLCHoklch(69.84% 0.136 270.4)
XYZxyz(35.8543, 33.3007, 88.5256)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98F2 #F2D87E
analogous
#7ED2F2 #7E98F2 #9E7EF2
triadic
#7E98F2 #F27E98 #98F27E
tetradic
#7E98F2 #F27ED2 #F2D87E #7EF29E
square
#7E98F2 #F27ED2 #F2D87E #7EF29E
split-complementary
#7E98F2 #F29E7E #D2F27E
monochromatic
#1643DF #466CEC #7E98F2 #B6C4F8 #E3E9FC

Accessibility & contrast

On white

2.74
#7E98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#7E98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98F2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98F2#FFFFFF#000000##000000
##7E98F21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#6A97F0
Tritanopia (blue-blind)
#4FABB9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e98f2;
/* rgb */ color: rgb(126, 152, 242);
/* oklch */ color: oklch(69.8% 0.136 270.4);
Tailwind
colors: {
  custom: {
    50: '#a9b6f7',
    500: '#7e98f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e98f2;
$custom-light: #a9b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98f2",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 226.552,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69838,
    "c": 0.13558,
    "h": 270.4
  },
  "luminance": 0.33303
}

Semantic roles & 50–950 ramp

primary
#7E98F2
secondary
#F4EED7
accent
#AE07DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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