#6794E1#6794E1

#6794E1 is a light, vivid blue. Relative luminance 0.295; OKLCH L 66.8% C 0.125 H 260.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6794E1
RGBrgb(103, 148, 225)
HSLhsl(218, 67%, 64%)
HSVhsv(218, 54%, 88%)
CMYKcmyk(54.2%, 34.2%, 0%, 11.8%)
CIE-LABlab(61.22, 6.72, -43.77)
CIE-LCHlch(61.22, 44.28, 278.73°)
OKLaboklab(66.76% -0.0204 -0.1236)
OKLCHoklch(66.76% 0.125 260.6)
XYZxyz(29.7694, 29.4973, 75.3444)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6794E1 #E1B467
analogous
#67D1E1 #6794E1 #7767E1
triadic
#6794E1 #E16794 #94E167
tetradic
#6794E1 #E167D1 #E1B467 #67E177
square
#6794E1 #E167D1 #E1B467 #67E177
split-complementary
#6794E1 #E17767 #D1E167
monochromatic
#2255AC #3470D7 #6794E1 #9AB8EB #CDDCF5

Accessibility & contrast

On white

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

On black

6.90
#6794E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6794E1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6794E1#FFFFFF#000000##000000
##6794E11.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE4
Deuteranopia (green-blind)
#668FDF
Tritanopia (blue-blind)
#1EA5B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6794e1;
/* rgb */ color: rgb(103, 148, 225);
/* oklch */ color: oklch(66.8% 0.125 260.6);
Tailwind
colors: {
  custom: {
    50: '#9ab3eb',
    500: '#6794e1',
    950: '#000000',
  },
}
SCSS
$custom: #6794e1;
$custom-light: #9ab3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6794e1",
  "rgb": {
    "r": 103,
    "g": 148,
    "b": 225
  },
  "hsl": {
    "h": 217.869,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66761,
    "c": 0.12523,
    "h": 260.6
  },
  "luminance": 0.295
}

Semantic roles & 50–950 ramp

primary
#6794E1
secondary
#E7D7BD
accent
#8B17CF
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1116
muted
#7E8084

Preview Lab

Preview with #6794E1

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

Preview Lab → · Contrast checker → · Palette generator →

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