#6795F7#6795F7

#6795F7 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.2% C 0.154 H 263.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6795F7
RGBrgb(103, 149, 247)
HSLhsl(221, 90%, 69%)
HSVhsv(221, 58%, 97%)
CMYKcmyk(58.3%, 39.7%, 0%, 3.1%)
CIE-LABlab(62.58, 13.13, -53.75)
CIE-LCHlch(62.58, 55.33, 283.73°)
OKLaboklab(68.18% -0.0165 -0.1527)
OKLCHoklch(68.18% 0.154 263.8)
XYZxyz(33.1237, 31.0911, 92.2333)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6795F7 #F7C967
analogous
#67DDF7 #6795F7 #8167F7
triadic
#6795F7 #F76795 #95F767
tetradic
#6795F7 #F767DD #F7C967 #67F781
square
#6795F7 #F767DD #F7C967 #67F781
split-complementary
#6795F7 #F78167 #DDF767
monochromatic
#0B4DD8 #2D6CF4 #6795F7 #A1BEFA #DBE6FD

Accessibility & contrast

On white

2.91
#6795F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#6795F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6795F7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6795F7#FFFFFF#000000##000000
##6795F71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6795f7;
/* rgb */ color: rgb(103, 149, 247);
/* oklch */ color: oklch(68.2% 0.154 263.8);
Tailwind
colors: {
  custom: {
    50: '#9db3fa',
    500: '#6795f7',
    950: '#000000',
  },
}
SCSS
$custom: #6795f7;
$custom-light: #9db3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6795f7",
  "rgb": {
    "r": 103,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 220.833,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.1536,
    "h": 263.8
  },
  "luminance": 0.31094
}

Semantic roles & 50–950 ramp

primary
#6795F7
secondary
#F2E5C7
accent
#9C00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6795F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6795F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva