#7897CA#7897CA

#7897CA is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.3% C 0.084 H 260.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7897CA
RGBrgb(120, 151, 202)
HSLhsl(217, 44%, 63%)
HSVhsv(217, 41%, 79%)
CMYKcmyk(40.6%, 25.2%, 0%, 20.8%)
CIE-LABlab(61.99, 2.26, -29.67)
CIE-LCHlch(61.99, 29.75, 274.35°)
OKLaboklab(67.28% -0.0143 -0.0825)
OKLCHoklch(67.28% 0.084 260.2)
XYZxyz(29.4696, 30.3890, 60.1785)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7897CA #CAAB78
analogous
#78C0CA #7897CA #8278CA
triadic
#7897CA #CA7897 #97CA78
tetradic
#7897CA #CA78C0 #CAAB78 #78CA82
square
#7897CA #CA78C0 #CAAB78 #78CA82
split-complementary
#7897CA #CA8278 #C0CA78
monochromatic
#38598F #4C75B9 #7897CA #A4B9DB #D0DBED

Accessibility & contrast

On white

2.97
#7897CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7897CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7897CA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7897CA#FFFFFF#000000##000000
##7897CA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACC
Deuteranopia (green-blind)
#7C92C9
Tritanopia (blue-blind)
#5CA2A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7897ca;
/* rgb */ color: rgb(120, 151, 202);
/* oklch */ color: oklch(67.3% 0.084 260.2);
Tailwind
colors: {
  custom: {
    50: '#a2b5da',
    500: '#7897ca',
    950: '#000000',
  },
}
SCSS
$custom: #7897ca;
$custom-light: #a2b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#7897ca",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 217.317,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.08377,
    "h": 260.2
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

primary
#7897CA
secondary
#DED2C0
accent
#832FB7
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7897CA

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

Preview Lab → · Contrast checker → · Palette generator →

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