#7897EF#7897EF

#7897EF is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.1% C 0.135 H 268.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7897EF
RGBrgb(120, 151, 239)
HSLhsl(224, 79%, 70%)
HSVhsv(224, 50%, 94%)
CMYKcmyk(49.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.64, 13.02, -47.63)
CIE-LCHlch(63.64, 49.37, 285.29°)
OKLaboklab(69.1% -0.0045 -0.1345)
OKLCHoklch(69.1% 0.135 268.1)
XYZxyz(34.3872, 32.3560, 86.0779)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897EF #EFD078
analogous
#78D2EF #7897EF #9478EF
triadic
#7897EF #EF7897 #97EF78
tetradic
#7897EF #EF78D2 #EFD078 #78EF94
square
#7897EF #EF78D2 #EFD078 #78EF94
split-complementary
#7897EF #EF9478 #D2EF78
monochromatic
#194AD4 #416DE9 #7897EF #AFC1F5 #E4EAFC

Accessibility & contrast

On white

2.81
#7897EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7897EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897EF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897EF#FFFFFF#000000##000000
##7897EF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#44AAB8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7897ef;
/* rgb */ color: rgb(120, 151, 239);
/* oklch */ color: oklch(69.1% 0.135 268.1);
Tailwind
colors: {
  custom: {
    50: '#a5b5f4',
    500: '#7897ef',
    950: '#000000',
  },
}
SCSS
$custom: #7897ef;
$custom-light: #a5b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ef",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 224.37,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69104,
    "c": 0.13457,
    "h": 268.1
  },
  "luminance": 0.32358
}

Semantic roles & 50–950 ramp

primary
#7897EF
secondary
#F2E9D1
accent
#A50ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7897EF

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

Preview Lab → · Contrast checker → · Palette generator →

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