#7892D2#7892D2

#7892D2 is a light, moderate blue. Relative luminance 0.292; OKLCH L 66.6% C 0.100 H 266.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7892D2
RGBrgb(120, 146, 210)
HSLhsl(223, 50%, 65%)
HSVhsv(223, 43%, 82%)
CMYKcmyk(42.9%, 30.5%, 0%, 17.6%)
CIE-LABlab(60.96, 7.39, -35.74)
CIE-LCHlch(60.96, 36.50, 281.69°)
OKLaboklab(66.59% -0.0056 -0.1)
OKLCHoklch(66.59% 0.1 266.8)
XYZxyz(29.6538, 29.2024, 65.0344)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7892D2 #D2B878
analogous
#78BFD2 #7892D2 #8B78D2
triadic
#7892D2 #D27892 #92D278
tetradic
#7892D2 #D278BF #D2B878 #78D28B
square
#7892D2 #D278BF #D2B878 #78D28B
split-complementary
#7892D2 #D28B78 #BFD278
monochromatic
#34529C #4A6DC3 #7892D2 #A6B7E1 #D4DCF1

Accessibility & contrast

On white

3.07
#7892D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7892D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7892D2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7892D2#FFFFFF#000000##000000
##7892D21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#728FD1
Tritanopia (blue-blind)
#589FA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7892d2;
/* rgb */ color: rgb(120, 146, 210);
/* oklch */ color: oklch(66.6% 0.100 266.8);
Tailwind
colors: {
  custom: {
    50: '#a2b1e0',
    500: '#7892d2',
    950: '#000000',
  },
}
SCSS
$custom: #7892d2;
$custom-light: #a2b1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7892d2",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 210
  },
  "hsl": {
    "h": 222.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.10018,
    "h": 266.8
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#7892D2
secondary
#E2D9C3
accent
#9228BD
background
#FAFAFD
surface
#F4F5FB
border
#CECFD4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7892D2

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

Preview Lab → · Contrast checker → · Palette generator →

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