#7897EC#7897EC

#7897EC is a light, vivid blue. Relative luminance 0.322; OKLCH L 68.9% C 0.130 H 267.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7897EC
RGBrgb(120, 151, 236)
HSLhsl(224, 75%, 70%)
HSVhsv(224, 49%, 93%)
CMYKcmyk(49.2%, 36%, 0%, 7.5%)
CIE-LABlab(63.49, 12.12, -46.20)
CIE-LCHlch(63.49, 47.77, 284.70°)
OKLaboklab(68.95% -0.0052 -0.1303)
OKLCHoklch(68.95% 0.13 267.7)
XYZxyz(33.9477, 32.1802, 83.7632)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897EC #ECCD78
analogous
#78D1EC #7897EC #9378EC
triadic
#7897EC #EC7897 #97EC78
tetradic
#7897EC #EC78D1 #ECCD78 #78EC93
square
#7897EC #EC78D1 #ECCD78 #78EC93
split-complementary
#7897EC #EC9378 #D1EC78
monochromatic
#1D4CCD #426EE4 #7897EC #AEC0F4 #E3EAFB

Accessibility & contrast

On white

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

On black

7.44
#7897EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897EC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897EC#FFFFFF#000000##000000
##7897EC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#46A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7897ec;
/* rgb */ color: rgb(120, 151, 236);
/* oklch */ color: oklch(68.9% 0.130 267.7);
Tailwind
colors: {
  custom: {
    50: '#a5b5f2',
    500: '#7897ec',
    950: '#000000',
  },
}
SCSS
$custom: #7897ec;
$custom-light: #a5b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ec",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 223.966,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.13045,
    "h": 267.7
  },
  "luminance": 0.32182
}

Semantic roles & 50–950 ramp

primary
#7897EC
secondary
#F0E8D0
accent
#A20ED7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897EC

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

Preview Lab → · Contrast checker → · Palette generator →

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