#7895FE#7895FE

#7895FE is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.5% C 0.157 H 270.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7895FE
RGBrgb(120, 149, 254)
HSLhsl(227, 99%, 73%)
HSVhsv(227, 53%, 100%)
CMYKcmyk(52.8%, 41.3%, 0%, 0.4%)
CIE-LABlab(63.87, 18.76, -55.48)
CIE-LCHlch(63.87, 58.57, 288.68°)
OKLaboklab(69.53% 0.0007 -0.1575)
OKLCHoklch(69.53% 0.157 270.3)
XYZxyz(36.3767, 32.6412, 98.1302)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7895FE #FEE178
analogous
#78D8FE #7895FE #9E78FE
triadic
#7895FE #FE7895 #95FE78
tetradic
#7895FE #FE78D8 #FEE178 #78FE9E
square
#7895FE #FE78D8 #FEE178 #78FE9E
split-complementary
#7895FE #FE9E78 #D8FE78
monochromatic
#0237FA #3B65FE #7895FE #B5C5FE #E1E7FF

Accessibility & contrast

On white

2.79
#7895FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7895FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7895FE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7895FE#FFFFFF#000000##000000
##7895FE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5A95FC
Tritanopia (blue-blind)
#35ACBD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7895fe;
/* rgb */ color: rgb(120, 149, 254);
/* oklch */ color: oklch(69.5% 0.157 270.3);
Tailwind
colors: {
  custom: {
    50: '#a7b3ff',
    500: '#7895fe',
    950: '#000000',
  },
}
SCSS
$custom: #7895fe;
$custom-light: #a7b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7895fe",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 227.015,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6953,
    "c": 0.15747,
    "h": 270.3
  },
  "luminance": 0.32644
}

Semantic roles & 50–950 ramp

primary
#7895FE
secondary
#F7EFD4
accent
#B400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7895FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7895FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva