#798DBC#798DBC

#798DBC is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.6% C 0.074 H 266.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#798DBC
RGBrgb(121, 141, 188)
HSLhsl(222, 33%, 61%)
HSVhsv(222, 36%, 74%)
CMYKcmyk(35.6%, 25%, 0%, 26.3%)
CIE-LABlab(58.74, 4.44, -26.80)
CIE-LCHlch(58.74, 27.17, 279.40°)
OKLaboklab(64.57% -0.0045 -0.0743)
OKLCHoklch(64.57% 0.074 266.5)
XYZxyz(26.4844, 26.7444, 51.3339)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DBC #BCA879
analogous
#79AEBC #798DBC #8679BC
triadic
#798DBC #BC798D #8DBC79
tetradic
#798DBC #BC79AE #BCA879 #79BC86
square
#798DBC #BC79AE #BCA879 #79BC86
split-complementary
#798DBC #BC8679 #AEBC79
monochromatic
#3E517C #536BA5 #798DBC #A2B0D0 #CBD2E5

Accessibility & contrast

On white

3.31
#798DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#798DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DBC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DBC#FFFFFF#000000##000000
##798DBC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91BE
Deuteranopia (green-blind)
#778BBB
Tritanopia (blue-blind)
#65969D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798dbc;
/* rgb */ color: rgb(121, 141, 188);
/* oklch */ color: oklch(64.6% 0.074 266.5);
Tailwind
colors: {
  custom: {
    50: '#a1aed0',
    500: '#798dbc',
    950: '#000000',
  },
}
SCSS
$custom: #798dbc;
$custom-light: #a1aed0;
$custom-dark: #000000;
JSON
{
  "hex": "#798dbc",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 188
  },
  "hsl": {
    "h": 222.09,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.07447,
    "h": 266.5
  },
  "luminance": 0.26746
}

Semantic roles & 50–950 ramp

primary
#798DBC
secondary
#D5CEBC
accent
#8A39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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