#6795EC#6795EC

#6795EC is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.6% C 0.139 H 262.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6795EC
RGBrgb(103, 149, 236)
HSLhsl(219, 78%, 66%)
HSVhsv(219, 56%, 93%)
CMYKcmyk(56.4%, 36.9%, 0%, 7.5%)
CIE-LABlab(62.03, 9.61, -48.58)
CIE-LCHlch(62.03, 49.52, 281.19°)
OKLaboklab(67.56% -0.0189 -0.1376)
OKLCHoklch(67.56% 0.139 262.2)
XYZxyz(31.4761, 30.4320, 83.5559)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6795EC #ECBE67
analogous
#67D8EC #6795EC #7C67EC
triadic
#6795EC #EC6795 #95EC67
tetradic
#6795EC #EC67D8 #ECBE67 #67EC7C
square
#6795EC #EC67D8 #ECBE67 #67EC7C
split-complementary
#6795EC #EC7C67 #D8EC67
monochromatic
#1852C1 #316FE5 #6795EC #9DBBF3 #D4E1FA

Accessibility & contrast

On white

2.96
#6795EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#6795EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6795EC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6795EC#FFFFFF#000000##000000
##6795EC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6795ec;
/* rgb */ color: rgb(103, 149, 236);
/* oklch */ color: oklch(67.6% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#9bb3f2',
    500: '#6795ec',
    950: '#000000',
  },
}
SCSS
$custom: #6795ec;
$custom-light: #9bb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6795ec",
  "rgb": {
    "r": 103,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 219.248,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.13888,
    "h": 262.2
  },
  "luminance": 0.30435
}

Semantic roles & 50–950 ramp

primary
#6795EC
secondary
#EDDEC2
accent
#930BDA
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6795EC

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

Preview Lab → · Contrast checker → · Palette generator →

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