#7893FD#7893FD

#7893FD is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.1% C 0.159 H 271.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7893FD
RGBrgb(120, 147, 253)
HSLhsl(228, 97%, 73%)
HSVhsv(228, 53%, 99%)
CMYKcmyk(52.6%, 41.9%, 0%, 0.8%)
CIE-LABlab(63.30, 19.62, -55.84)
CIE-LCHlch(63.30, 59.19, 289.36°)
OKLaboklab(69.08% 0.0028 -0.1585)
OKLCHoklch(69.08% 0.159 271)
XYZxyz(35.9033, 31.9499, 97.1845)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893FD #FDE278
analogous
#78D5FD #7893FD #A078FD
triadic
#7893FD #FD7893 #93FD78
tetradic
#7893FD #FD78D5 #FDE278 #78FDA0
square
#7893FD #FD78D5 #FDE278 #78FDA0
split-complementary
#7893FD #FDA078 #D5FD78
monochromatic
#0435F7 #3C63FC #7893FD #B4C3FE #E1E7FF

Accessibility & contrast

On white

2.84
#7893FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7893FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893FD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893FD#FFFFFF#000000##000000
##7893FD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#37AABC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7893fd;
/* rgb */ color: rgb(120, 147, 253);
/* oklch */ color: oklch(69.1% 0.159 271.0);
Tailwind
colors: {
  custom: {
    50: '#a7b2fe',
    500: '#7893fd',
    950: '#000000',
  },
}
SCSS
$custom: #7893fd;
$custom-light: #a7b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7893fd",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 227.82,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.15855,
    "h": 271
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

primary
#7893FD
secondary
#F7F0D4
accent
#B700E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7893FD

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

Preview Lab → · Contrast checker → · Palette generator →

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