#799AF2#799AF2

#799AF2 is a light, vivid blue. Relative luminance 0.336; OKLCH L 69.9% C 0.135 H 267.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#799AF2
RGBrgb(121, 154, 242)
HSLhsl(224, 82%, 71%)
HSVhsv(224, 50%, 95%)
CMYKcmyk(50%, 36.4%, 0%, 5.1%)
CIE-LABlab(64.63, 12.40, -47.70)
CIE-LCHlch(64.63, 49.29, 284.58°)
OKLaboklab(69.94% -0.0063 -0.1347)
OKLCHoklch(69.94% 0.135 267.3)
XYZxyz(35.4625, 33.5846, 88.6010)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799AF2 #F2D179
analogous
#79D7F2 #799AF2 #9479F2
triadic
#799AF2 #F2799A #9AF279
tetradic
#799AF2 #F279D7 #F2D179 #79F294
square
#799AF2 #F279D7 #F2D179 #79F294
split-complementary
#799AF2 #F29479 #D7F279
monochromatic
#154BDB #4170ED #799AF2 #B1C4F7 #E3EAFC

Accessibility & contrast

On white

2.72
#799AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#799AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799AF2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799AF2#FFFFFF#000000##000000
##799AF21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#43ADBB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #799af2;
/* rgb */ color: rgb(121, 154, 242);
/* oklch */ color: oklch(69.9% 0.135 267.3);
Tailwind
colors: {
  custom: {
    50: '#a6b7f7',
    500: '#799af2',
    950: '#000000',
  },
}
SCSS
$custom: #799af2;
$custom-light: #a6b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#799af2",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 223.636,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69936,
    "c": 0.13482,
    "h": 267.3
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#799AF2
secondary
#F3EBD3
accent
#A407DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #799AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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