#799DD4#799DD4

#799DD4 is a light, moderate blue. Relative luminance 0.329; OKLCH L 69.1% C 0.091 H 258.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#799DD4
RGBrgb(121, 157, 212)
HSLhsl(216, 51%, 65%)
HSVhsv(216, 43%, 83%)
CMYKcmyk(42.9%, 25.9%, 0%, 16.9%)
CIE-LABlab(64.10, 1.91, -31.96)
CIE-LCHlch(64.10, 32.02, 273.42°)
OKLaboklab(69.09% -0.0178 -0.0891)
OKLCHoklch(69.09% 0.091 258.7)
XYZxyz(31.8220, 32.9305, 66.9540)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799DD4 #D4B079
analogous
#79CAD4 #799DD4 #8379D4
triadic
#799DD4 #D4799D #9DD479
tetradic
#799DD4 #D479CA #D4B079 #79D483
square
#799DD4 #D479CA #D4B079 #79D483
split-complementary
#799DD4 #D48379 #CAD479
monochromatic
#335E9F #4B7BC5 #799DD4 #A7BFE3 #D6E1F2

Accessibility & contrast

On white

2.77
#799DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#799DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799DD4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799DD4#FFFFFF#000000##000000
##799DD41.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D6
Deuteranopia (green-blind)
#7E97D3
Tritanopia (blue-blind)
#58A9B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #799dd4;
/* rgb */ color: rgb(121, 157, 212);
/* oklch */ color: oklch(69.1% 0.091 258.7);
Tailwind
colors: {
  custom: {
    50: '#a3b9e1',
    500: '#799dd4',
    950: '#000000',
  },
}
SCSS
$custom: #799dd4;
$custom-light: #a3b9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#799dd4",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 212
  },
  "hsl": {
    "h": 216.264,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69088,
    "c": 0.09087,
    "h": 258.7
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#799DD4
secondary
#E4D8C5
accent
#8327BF
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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