#6797EA#6797EA

#6797EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.134 H 260.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6797EA
RGBrgb(103, 151, 234)
HSLhsl(218, 76%, 66%)
HSVhsv(218, 56%, 92%)
CMYKcmyk(56%, 35.5%, 0%, 8.2%)
CIE-LABlab(62.47, 7.81, -46.77)
CIE-LCHlch(62.47, 47.42, 279.48°)
OKLaboklab(67.88% -0.0215 -0.1323)
OKLCHoklch(67.88% 0.134 260.8)
XYZxyz(31.5063, 30.9547, 82.1405)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6797EA #EABA67
analogous
#67D9EA #6797EA #7867EA
triadic
#6797EA #EA6797 #97EA67
tetradic
#6797EA #EA67D9 #EABA67 #67EA78
square
#6797EA #EA67D9 #EABA67 #67EA78
split-complementary
#6797EA #EA7867 #D9EA67
monochromatic
#1A56BD #3172E3 #6797EA #9DBCF1 #D3E1F9

Accessibility & contrast

On white

2.92
#6797EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#6797EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6797EA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6797EA#FFFFFF#000000##000000
##6797EA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EED
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6797ea;
/* rgb */ color: rgb(103, 151, 234);
/* oklch */ color: oklch(67.9% 0.134 260.8);
Tailwind
colors: {
  custom: {
    50: '#9bb5f1',
    500: '#6797ea',
    950: '#000000',
  },
}
SCSS
$custom: #6797ea;
$custom-light: #9bb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6797ea",
  "rgb": {
    "r": 103,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 218.015,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.13405,
    "h": 260.8
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

primary
#6797EA
secondary
#ECDCC1
accent
#8E0ED8
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6797EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6797EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva