#798ABB#798ABB

#798ABB is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.9% C 0.077 H 269.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#798ABB
RGBrgb(121, 138, 187)
HSLhsl(225, 33%, 60%)
HSVhsv(225, 35%, 73%)
CMYKcmyk(35.3%, 26.2%, 0%, 26.7%)
CIE-LABlab(57.87, 5.90, -27.57)
CIE-LCHlch(57.87, 28.19, 282.09°)
OKLaboklab(63.89% -0.0008 -0.0765)
OKLCHoklch(63.89% 0.077 269.4)
XYZxyz(25.9406, 25.8287, 50.6227)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ABB #BBAA79
analogous
#79ABBB #798ABB #8979BB
triadic
#798ABB #BB798A #8ABB79
tetradic
#798ABB #BB79AB #BBAA79 #79BB89
square
#798ABB #BB79AB #BBAA79 #79BB89
split-complementary
#798ABB #BB8979 #ABBB79
monochromatic
#3E4E7B #5368A4 #798ABB #A2ADD0 #CAD1E4

Accessibility & contrast

On white

3.41
#798ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#798ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ABB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ABB#FFFFFF#000000##000000
##798ABB1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#66949B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798abb;
/* rgb */ color: rgb(121, 138, 187);
/* oklch */ color: oklch(63.9% 0.077 269.4);
Tailwind
colors: {
  custom: {
    50: '#a1accf',
    500: '#798abb',
    950: '#000000',
  },
}
SCSS
$custom: #798abb;
$custom-light: #a1accf;
$custom-dark: #000000;
JSON
{
  "hex": "#798abb",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 187
  },
  "hsl": {
    "h": 224.545,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.07651,
    "h": 269.4
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#798ABB
secondary
#D5CEBB
accent
#8E3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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