#798FDF#798FDF

#798FDF is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.122 H 271.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#798FDF
RGBrgb(121, 143, 223)
HSLhsl(227, 61%, 67%)
HSVhsv(227, 46%, 87%)
CMYKcmyk(45.7%, 35.9%, 0%, 12.5%)
CIE-LABlab(60.81, 13.17, -43.22)
CIE-LCHlch(60.81, 45.18, 286.94°)
OKLaboklab(66.69% 0.0024 -0.1217)
OKLCHoklch(66.69% 0.122 271.1)
XYZxyz(31.0227, 29.0358, 73.7675)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FDF #DFC979
analogous
#79C2DF #798FDF #9679DF
triadic
#798FDF #DF798F #8FDF79
tetradic
#798FDF #DF79C2 #DFC979 #79DF96
square
#798FDF #DF79C2 #DFC979 #79DF96
split-complementary
#798FDF #DF9679 #C2DF79
monochromatic
#2B48B3 #4866D3 #798FDF #AAB8EB #DCE2F7

Accessibility & contrast

On white

3.08
#798FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#798FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FDF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FDF#FFFFFF#000000##000000
##798FDF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E2
Deuteranopia (green-blind)
#688FDD
Tritanopia (blue-blind)
#53A0AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fdf;
/* rgb */ color: rgb(121, 143, 223);
/* oklch */ color: oklch(66.7% 0.122 271.1);
Tailwind
colors: {
  custom: {
    50: '#a4afe9',
    500: '#798fdf',
    950: '#000000',
  },
}
SCSS
$custom: #798fdf;
$custom-light: #a4afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#798fdf",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 227.059,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.12171,
    "h": 271.1
  },
  "luminance": 0.29038
}

Semantic roles & 50–950 ramp

primary
#798FDF
secondary
#EAE3CA
accent
#A41CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FDF

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

Preview Lab → · Contrast checker → · Palette generator →

#798FDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva