#7893F2#7893F2

#7893F2 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.5% C 0.144 H 270.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7893F2
RGBrgb(120, 147, 242)
HSLhsl(227, 82%, 71%)
HSVhsv(227, 50%, 95%)
CMYKcmyk(50.4%, 39.3%, 0%, 5.1%)
CIE-LABlab(62.73, 16.26, -50.70)
CIE-LCHlch(62.73, 53.25, 287.78°)
OKLaboklab(68.46% 0.0007 -0.1435)
OKLCHoklch(68.46% 0.144 270.3)
XYZxyz(34.2013, 31.2691, 88.2205)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7893F2 #F2D778
analogous
#78D0F2 #7893F2 #9A78F2
triadic
#7893F2 #F27893 #93F278
tetradic
#7893F2 #F278D0 #F2D778 #78F29A
square
#7893F2 #F278D0 #F2D778 #78F29A
split-complementary
#7893F2 #F29A78 #D0F278
monochromatic
#1541DB #4066ED #7893F2 #B0C0F7 #E3E9FC

Accessibility & contrast

On white

2.89
#7893F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7893F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7893F2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7893F2#FFFFFF#000000##000000
##7893F21.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#42A7B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7893f2;
/* rgb */ color: rgb(120, 147, 242);
/* oklch */ color: oklch(68.5% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#a6b2f7',
    500: '#7893f2',
    950: '#000000',
  },
}
SCSS
$custom: #7893f2;
$custom-light: #a6b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7893f2",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 226.721,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.14351,
    "h": 270.3
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#7893F2
secondary
#F3ECD3
accent
#AF07DF
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7893F2

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

Preview Lab → · Contrast checker → · Palette generator →

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