#6794E2#6794E2

#6794E2 is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.8% C 0.127 H 260.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6794E2
RGBrgb(103, 148, 226)
HSLhsl(218, 68%, 65%)
HSVhsv(218, 54%, 89%)
CMYKcmyk(54.4%, 34.5%, 0%, 11.4%)
CIE-LABlab(61.27, 7.04, -44.24)
CIE-LCHlch(61.27, 44.80, 279.03°)
OKLaboklab(66.81% -0.0201 -0.125)
OKLCHoklch(66.81% 0.127 260.8)
XYZxyz(29.9062, 29.5520, 76.0649)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6794E2 #E2B567
analogous
#67D1E2 #6794E2 #7867E2
triadic
#6794E2 #E26794 #94E267
tetradic
#6794E2 #E267D1 #E2B567 #67E278
square
#6794E2 #E267D1 #E2B567 #67E278
split-complementary
#6794E2 #E27867 #D1E267
monochromatic
#2154AD #3470D8 #6794E2 #9AB8EC #CEDCF6

Accessibility & contrast

On white

3.04
#6794E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#6794E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6794E2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6794E2#FFFFFF#000000##000000
##6794E21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#658FE0
Tritanopia (blue-blind)
#1CA5B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6794e2;
/* rgb */ color: rgb(103, 148, 226);
/* oklch */ color: oklch(66.8% 0.127 260.8);
Tailwind
colors: {
  custom: {
    50: '#9ab3eb',
    500: '#6794e2',
    950: '#000000',
  },
}
SCSS
$custom: #6794e2;
$custom-light: #9ab3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6794e2",
  "rgb": {
    "r": 103,
    "g": 148,
    "b": 226
  },
  "hsl": {
    "h": 218.049,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.12657,
    "h": 260.8
  },
  "luminance": 0.29554
}

Semantic roles & 50–950 ramp

primary
#6794E2
secondary
#E8D8BD
accent
#8C16D0
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1116
muted
#7E8084

Preview Lab

Preview with #6794E2

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

Preview Lab → · Contrast checker → · Palette generator →

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