#7892DF#7892DF

#7892DF is a light, moderate blue. Relative luminance 0.299; OKLCH L 67.2% C 0.118 H 268.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7892DF
RGBrgb(120, 146, 223)
HSLhsl(225, 62%, 67%)
HSVhsv(225, 46%, 87%)
CMYKcmyk(46.2%, 34.5%, 0%, 12.5%)
CIE-LABlab(61.55, 11.17, -42.07)
CIE-LCHlch(61.55, 43.53, 284.87°)
OKLaboklab(67.24% -0.0023 -0.1183)
OKLCHoklch(67.24% 0.118 268.9)
XYZxyz(31.3397, 29.8767, 73.9131)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892DF #DFC578
analogous
#78C6DF #7892DF #9178DF
triadic
#7892DF #DF7892 #92DF78
tetradic
#7892DF #DF78C6 #DFC578 #78DF91
square
#7892DF #DF78C6 #DFC578 #78DF91
split-complementary
#7892DF #DF9178 #C6DF78
monochromatic
#2A4DB2 #476AD3 #7892DF #A9BAEB #DBE2F6

Accessibility & contrast

On white

3.01
#7892DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7892DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7892DF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892DF#FFFFFF#000000##000000
##7892DF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E2
Deuteranopia (green-blind)
#6B90DD
Tritanopia (blue-blind)
#51A2AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7892df;
/* rgb */ color: rgb(120, 146, 223);
/* oklch */ color: oklch(67.2% 0.118 268.9);
Tailwind
colors: {
  custom: {
    50: '#a4b1e9',
    500: '#7892df',
    950: '#000000',
  },
}
SCSS
$custom: #7892df;
$custom-light: #a4b1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7892df",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 224.854,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.11836,
    "h": 268.9
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

primary
#7892DF
secondary
#EAE1C9
accent
#9E1CC9
background
#FAFAFE
surface
#F4F5FD
border
#CECFD5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7892DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7892DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva