#7899EF#7899EF

#7899EF is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.5% C 0.132 H 267.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7899EF
RGBrgb(120, 153, 239)
HSLhsl(223, 79%, 70%)
HSVhsv(223, 50%, 94%)
CMYKcmyk(49.8%, 36%, 0%, 6.3%)
CIE-LABlab(64.17, 11.86, -46.79)
CIE-LCHlch(64.17, 48.27, 284.22°)
OKLaboklab(69.51% -0.0068 -0.132)
OKLCHoklch(69.51% 0.132 267.1)
XYZxyz(34.7119, 33.0052, 86.1861)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7899EF #EFCE78
analogous
#78D5EF #7899EF #9278EF
triadic
#7899EF #EF7899 #99EF78
tetradic
#7899EF #EF78D5 #EFCE78 #78EF92
square
#7899EF #EF78D5 #EFCE78 #78EF92
split-complementary
#7899EF #EF9278 #D5EF78
monochromatic
#194DD4 #4170E9 #7899EF #AFC2F5 #E4EAFC

Accessibility & contrast

On white

2.76
#7899EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7899EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7899EF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7899EF#FFFFFF#000000##000000
##7899EF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#44ABB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7899ef;
/* rgb */ color: rgb(120, 153, 239);
/* oklch */ color: oklch(69.5% 0.132 267.1);
Tailwind
colors: {
  custom: {
    50: '#a5b6f4',
    500: '#7899ef',
    950: '#000000',
  },
}
SCSS
$custom: #7899ef;
$custom-light: #a5b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7899ef",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 223.361,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69513,
    "c": 0.13222,
    "h": 267.1
  },
  "luminance": 0.33008
}

Semantic roles & 50–950 ramp

primary
#7899EF
secondary
#F2E9D1
accent
#A10ADB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7899EF

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

Preview Lab → · Contrast checker → · Palette generator →

#7899EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva