#7897ED#7897ED

#7897ED is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.0% C 0.132 H 267.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7897ED
RGBrgb(120, 151, 237)
HSLhsl(224, 76%, 70%)
HSVhsv(224, 49%, 93%)
CMYKcmyk(49.4%, 36.3%, 0%, 7.1%)
CIE-LABlab(63.54, 12.42, -46.68)
CIE-LCHlch(63.54, 48.30, 284.90°)
OKLaboklab(69% -0.0049 -0.1317)
OKLCHoklch(69% 0.132 267.9)
XYZxyz(34.0934, 32.2385, 84.5305)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897ED #EDCE78
analogous
#78D1ED #7897ED #9478ED
triadic
#7897ED #ED7897 #97ED78
tetradic
#7897ED #ED78D1 #EDCE78 #78ED94
square
#7897ED #ED78D1 #EDCE78 #78ED94
split-complementary
#7897ED #ED9478 #D1ED78
monochromatic
#1C4BCF #426DE6 #7897ED #AEC1F4 #E4EAFB

Accessibility & contrast

On white

2.82
#7897ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7897ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897ED
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897ED#FFFFFF#000000##000000
##7897ED1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#46A9B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7897ed;
/* rgb */ color: rgb(120, 151, 237);
/* oklch */ color: oklch(69.0% 0.132 267.9);
Tailwind
colors: {
  custom: {
    50: '#a5b5f3',
    500: '#7897ed',
    950: '#000000',
  },
}
SCSS
$custom: #7897ed;
$custom-light: #a5b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ed",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 224.103,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.68998,
    "c": 0.13182,
    "h": 267.9
  },
  "luminance": 0.32241
}

Semantic roles & 50–950 ramp

primary
#7897ED
secondary
#F1E8D0
accent
#A30DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7897ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva