#7893FB#7893FB

#7893FB is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.0% C 0.156 H 270.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7893FB
RGBrgb(120, 147, 251)
HSLhsl(228, 94%, 73%)
HSVhsv(228, 52%, 98%)
CMYKcmyk(52.2%, 41.4%, 0%, 1.6%)
CIE-LABlab(63.20, 19.01, -54.91)
CIE-LCHlch(63.20, 58.11, 289.10°)
OKLaboklab(68.96% 0.0024 -0.1558)
OKLCHoklch(68.96% 0.156 270.9)
XYZxyz(35.5864, 31.8231, 95.5153)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893FB #FBE078
analogous
#78D4FB #7893FB #9F78FB
triadic
#7893FB #FB7893 #93FB78
tetradic
#7893FB #FB78D4 #FBE078 #78FB9F
square
#7893FB #FB78D4 #FBE078 #78FB9F
split-complementary
#7893FB #FB9F78 #D4FB78
monochromatic
#0737F1 #3D63F9 #7893FB #B3C3FD #E1E7FE

Accessibility & contrast

On white

2.85
#7893FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7893FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893FB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893FB#FFFFFF#000000##000000
##7893FB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#39A9BB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7893fb;
/* rgb */ color: rgb(120, 147, 251);
/* oklch */ color: oklch(69.0% 0.156 270.9);
Tailwind
colors: {
  custom: {
    50: '#a7b2fd',
    500: '#7893fb',
    950: '#000000',
  },
}
SCSS
$custom: #7893fb;
$custom-light: #a7b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7893fb",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 227.634,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68963,
    "c": 0.15584,
    "h": 270.9
  },
  "luminance": 0.31826
}

Semantic roles & 50–950 ramp

primary
#7893FB
secondary
#F6EFD5
accent
#B600E6
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7893FB

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

Preview Lab → · Contrast checker → · Palette generator →

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