#7895F2#7895F2

#7895F2 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.9% C 0.141 H 269.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7895F2
RGBrgb(120, 149, 242)
HSLhsl(226, 82%, 71%)
HSVhsv(226, 50%, 95%)
CMYKcmyk(50.4%, 38.4%, 0%, 5.1%)
CIE-LABlab(63.26, 15.09, -49.88)
CIE-LCHlch(63.26, 52.11, 286.84°)
OKLaboklab(68.86% -0.0016 -0.1411)
OKLCHoklch(68.86% 0.141 269.4)
XYZxyz(34.5150, 31.8965, 88.3251)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7895F2 #F2D578
analogous
#78D2F2 #7895F2 #9878F2
triadic
#7895F2 #F27895 #95F278
tetradic
#7895F2 #F278D2 #F2D578 #78F298
square
#7895F2 #F278D2 #F2D578 #78F298
split-complementary
#7895F2 #F29878 #D2F278
monochromatic
#1544DB #4069ED #7895F2 #B0C1F7 #E3E9FC

Accessibility & contrast

On white

2.85
#7895F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7895F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7895F2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7895F2#FFFFFF#000000##000000
##7895F21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#42A9B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7895f2;
/* rgb */ color: rgb(120, 149, 242);
/* oklch */ color: oklch(68.9% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#a6b3f7',
    500: '#7895f2',
    950: '#000000',
  },
}
SCSS
$custom: #7895f2;
$custom-light: #a6b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7895f2",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 225.738,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.14108,
    "h": 269.4
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#7895F2
secondary
#F3EBD3
accent
#AB07DF
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7895F2

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

Preview Lab → · Contrast checker → · Palette generator →

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