#7894CD#7894CD

#7894CD is a light, moderate blue. Relative luminance 0.296; OKLCH L 66.8% C 0.091 H 264.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7894CD
RGBrgb(120, 148, 205)
HSLhsl(220, 46%, 64%)
HSVhsv(220, 41%, 80%)
CMYKcmyk(41.5%, 27.8%, 0%, 19.6%)
CIE-LABlab(61.29, 4.82, -32.43)
CIE-LCHlch(61.29, 32.79, 278.45°)
OKLaboklab(66.78% -0.0096 -0.0905)
OKLCHoklch(66.78% 0.091 264)
XYZxyz(29.3516, 29.5791, 61.9085)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7894CD #CDB178
analogous
#78BECD #7894CD #8678CD
triadic
#7894CD #CD7894 #94CD78
tetradic
#7894CD #CD78BE #CDB178 #78CD86
square
#7894CD #CD78BE #CDB178 #78CD86
split-complementary
#7894CD #CD8678 #BECD78
monochromatic
#375594 #4B71BC #7894CD #A5B7DE #D1DBEE

Accessibility & contrast

On white

3.04
#7894CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#7894CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7894CD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7894CD#FFFFFF#000000##000000
##7894CD1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#7790CC
Tritanopia (blue-blind)
#5BA0A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7894cd;
/* rgb */ color: rgb(120, 148, 205);
/* oklch */ color: oklch(66.8% 0.091 264.0);
Tailwind
colors: {
  custom: {
    50: '#a2b3dc',
    500: '#7894cd',
    950: '#000000',
  },
}
SCSS
$custom: #7894cd;
$custom-light: #a2b3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7894cd",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 205
  },
  "hsl": {
    "h": 220.235,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66777,
    "c": 0.09097,
    "h": 264
  },
  "luminance": 0.29581
}

Semantic roles & 50–950 ramp

primary
#7894CD
secondary
#DFD6C1
accent
#8B2CB9
background
#FAFAFD
surface
#F4F5FB
border
#CECFD4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7894CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7894CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva