#6794F5#6794F5

#6794F5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.9% C 0.152 H 264.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6794F5
RGBrgb(103, 148, 245)
HSLhsl(221, 88%, 68%)
HSVhsv(221, 58%, 96%)
CMYKcmyk(58%, 39.6%, 0%, 3.9%)
CIE-LABlab(62.21, 13.08, -53.24)
CIE-LCHlch(62.21, 54.82, 283.80°)
OKLaboklab(67.86% -0.0159 -0.1512)
OKLCHoklch(67.86% 0.152 264)
XYZxyz(32.6592, 30.6532, 90.5641)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6794F5 #F5C867
analogous
#67DBF5 #6794F5 #8167F5
triadic
#6794F5 #F56794 #94F567
tetradic
#6794F5 #F567DB #F5C867 #67F581
square
#6794F5 #F567DB #F5C867 #67F581
split-complementary
#6794F5 #F58167 #DBF567
monochromatic
#0E4DD4 #2E6CF1 #6794F5 #A0BCF9 #DAE5FD

Accessibility & contrast

On white

2.94
#6794F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#6794F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6794F5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6794F5#FFFFFF#000000##000000
##6794F51.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#00AAB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6794f5;
/* rgb */ color: rgb(103, 148, 245);
/* oklch */ color: oklch(67.9% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#9db3f9',
    500: '#6794f5',
    950: '#000000',
  },
}
SCSS
$custom: #6794f5;
$custom-light: #9db3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6794f5",
  "rgb": {
    "r": 103,
    "g": 148,
    "b": 245
  },
  "hsl": {
    "h": 220.986,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67858,
    "c": 0.15206,
    "h": 264
  },
  "luminance": 0.30656
}

Semantic roles & 50–950 ramp

primary
#6794F5
secondary
#F1E4C6
accent
#9C01E4
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6794F5

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

Preview Lab → · Contrast checker → · Palette generator →

#6794F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva