#7893DD#7893DD

#7893DD is a light, moderate blue. Relative luminance 0.301; OKLCH L 67.3% C 0.114 H 268.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7893DD
RGBrgb(120, 147, 221)
HSLhsl(224, 60%, 67%)
HSVhsv(224, 46%, 87%)
CMYKcmyk(45.7%, 33.5%, 0%, 13.3%)
CIE-LABlab(61.72, 10.00, -40.68)
CIE-LCHlch(61.72, 41.89, 283.81°)
OKLaboklab(67.35% -0.004 -0.1143)
OKLCHoklch(67.35% 0.114 268)
XYZxyz(31.2264, 30.0791, 72.5530)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893DD #DDC278
analogous
#78C6DD #7893DD #9078DD
triadic
#7893DD #DD7893 #93DD78
tetradic
#7893DD #DD78C6 #DDC278 #78DD90
square
#7893DD #DD78C6 #DDC278 #78DD90
split-complementary
#7893DD #DD9078 #C6DD78
monochromatic
#2C4FAF #476CD1 #7893DD #A9BAE9 #DAE1F6

Accessibility & contrast

On white

2.99
#7893DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7893DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893DD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893DD#FFFFFF#000000##000000
##7893DD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#52A2AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7893dd;
/* rgb */ color: rgb(120, 147, 221);
/* oklch */ color: oklch(67.3% 0.114 268.0);
Tailwind
colors: {
  custom: {
    50: '#a3b2e8',
    500: '#7893dd',
    950: '#000000',
  },
}
SCSS
$custom: #7893dd;
$custom-light: #a3b2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7893dd",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 221
  },
  "hsl": {
    "h": 223.96,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.11439,
    "h": 268
  },
  "luminance": 0.30081
}

Semantic roles & 50–950 ramp

primary
#7893DD
secondary
#E9E0C8
accent
#9A1EC7
background
#FAFAFE
surface
#F4F5FC
border
#CECFD5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #7893DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7893DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva