#799ED4#799ED4

#799ED4 is a light, moderate blue. Relative luminance 0.333; OKLCH L 69.3% C 0.090 H 257.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#799ED4
RGBrgb(121, 158, 212)
HSLhsl(216, 51%, 65%)
HSVhsv(216, 43%, 83%)
CMYKcmyk(42.9%, 25.5%, 0%, 16.9%)
CIE-LABlab(64.38, 1.34, -31.54)
CIE-LCHlch(64.38, 31.56, 272.44°)
OKLaboklab(69.3% -0.0191 -0.0879)
OKLCHoklch(69.3% 0.09 257.7)
XYZxyz(31.9918, 33.2702, 67.0106)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799ED4 #D4AF79
analogous
#79CCD4 #799ED4 #8179D4
triadic
#799ED4 #D4799E #9ED479
tetradic
#799ED4 #D479CC #D4AF79 #79D481
square
#799ED4 #D479CC #D4AF79 #79D481
split-complementary
#799ED4 #D48179 #CCD479
monochromatic
#335F9F #4B7CC5 #799ED4 #A7C0E3 #D6E1F2

Accessibility & contrast

On white

2.74
#799ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#799ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799ED4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799ED4#FFFFFF#000000##000000
##799ED41.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D6
Deuteranopia (green-blind)
#8098D3
Tritanopia (blue-blind)
#57AAB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #799ed4;
/* rgb */ color: rgb(121, 158, 212);
/* oklch */ color: oklch(69.3% 0.090 257.7);
Tailwind
colors: {
  custom: {
    50: '#a3bae1',
    500: '#799ed4',
    950: '#000000',
  },
}
SCSS
$custom: #799ed4;
$custom-light: #a3bae1;
$custom-dark: #000000;
JSON
{
  "hex": "#799ed4",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 212
  },
  "hsl": {
    "h": 215.604,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69303,
    "c": 0.08993,
    "h": 257.7
  },
  "luminance": 0.33272
}

Semantic roles & 50–950 ramp

primary
#799ED4
secondary
#E4D7C5
accent
#8127BF
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799ED4

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

Preview Lab → · Contrast checker → · Palette generator →

#799ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva