#7895FD#7895FD

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

Color values

HEX#7895FD
RGBrgb(120, 149, 253)
HSLhsl(227, 97%, 73%)
HSVhsv(227, 53%, 99%)
CMYKcmyk(52.6%, 41.1%, 0%, 0.8%)
CIE-LABlab(63.82, 18.45, -55.02)
CIE-LCHlch(63.82, 58.03, 288.54°)
OKLaboklab(69.47% 0.0006 -0.1561)
OKLCHoklch(69.47% 0.156 270.2)
XYZxyz(36.2170, 32.5773, 97.2890)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7895FD #FDE078
analogous
#78D8FD #7895FD #9D78FD
triadic
#7895FD #FD7895 #95FD78
tetradic
#7895FD #FD78D8 #FDE078 #78FD9D
square
#7895FD #FD78D8 #FDE078 #78FD9D
split-complementary
#7895FD #FD9D78 #D8FD78
monochromatic
#0439F7 #3C66FC #7895FD #B4C4FE #E1E7FF

Accessibility & contrast

On white

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

On black

7.52
#7895FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7895FD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7895FD#FFFFFF#000000##000000
##7895FD1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#5B95FB
Tritanopia (blue-blind)
#36ACBD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7895fd;
/* rgb */ color: rgb(120, 149, 253);
/* oklch */ color: oklch(69.5% 0.156 270.2);
Tailwind
colors: {
  custom: {
    50: '#a7b3fe',
    500: '#7895fd',
    950: '#000000',
  },
}
SCSS
$custom: #7895fd;
$custom-light: #a7b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7895fd",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 226.917,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69473,
    "c": 0.15611,
    "h": 270.2
  },
  "luminance": 0.3258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7895FD

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

Preview Lab → · Contrast checker → · Palette generator →

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