#6795DC#6795DC

#6795DC is a light, moderate blue. Relative luminance 0.295; OKLCH L 66.7% C 0.118 H 258.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6795DC
RGBrgb(103, 149, 220)
HSLhsl(216, 63%, 63%)
HSVhsv(216, 53%, 86%)
CMYKcmyk(53.2%, 32.3%, 0%, 13.7%)
CIE-LABlab(61.26, 4.58, -40.92)
CIE-LCHlch(61.26, 41.18, 276.39°)
OKLaboklab(66.72% -0.0228 -0.1153)
OKLCHoklch(66.72% 0.118 258.8)
XYZxyz(29.2548, 29.5435, 71.8571)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6795DC #DCAE67
analogous
#67D0DC #6795DC #7367DC
triadic
#6795DC #DC6795 #95DC67
tetradic
#6795DC #DC67D0 #DCAE67 #67DC73
square
#6795DC #DC67D0 #DCAE67 #67DC73
split-complementary
#6795DC #DC7367 #D0DC67
monochromatic
#2657A3 #3572D1 #6795DC #99B8E7 #CADAF3

Accessibility & contrast

On white

3.04
#6795DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#6795DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6795DC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6795DC#FFFFFF#000000##000000
##6795DC1.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)
#799ADF
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#26A5AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6795dc;
/* rgb */ color: rgb(103, 149, 220);
/* oklch */ color: oklch(66.7% 0.118 258.8);
Tailwind
colors: {
  custom: {
    50: '#99b3e7',
    500: '#6795dc',
    950: '#000000',
  },
}
SCSS
$custom: #6795dc;
$custom-light: #99b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6795dc",
  "rgb": {
    "r": 103,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 216.41,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.11752,
    "h": 258.8
  },
  "luminance": 0.29546
}

Semantic roles & 50–950 ramp

primary
#6795DC
secondary
#E4D4BB
accent
#851BCA
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #6795DC

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

Preview Lab → · Contrast checker → · Palette generator →

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