#6791DC#6791DC

#6791DC is a light, vivid blue. Relative luminance 0.283; OKLCH L 65.9% C 0.122 H 261.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6791DC
RGBrgb(103, 145, 220)
HSLhsl(218, 63%, 63%)
HSVhsv(218, 53%, 86%)
CMYKcmyk(53.2%, 34.1%, 0%, 13.7%)
CIE-LABlab(60.16, 6.91, -42.65)
CIE-LCHlch(60.16, 43.21, 279.20°)
OKLaboklab(65.86% -0.0182 -0.1203)
OKLCHoklch(65.86% 0.122 261.4)
XYZxyz(28.6328, 28.2995, 71.6498)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6791DC #DCB267
analogous
#67CBDC #6791DC #7767DC
triadic
#6791DC #DC6791 #91DC67
tetradic
#6791DC #DC67CB #DCB267 #67DC77
square
#6791DC #DC67CB #DCB267 #67DC77
split-complementary
#6791DC #DC7767 #CBDC67
monochromatic
#2653A3 #356DD1 #6791DC #99B5E7 #CAD9F3

Accessibility & contrast

On white

3.15
#6791DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#6791DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6791DC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6791DC#FFFFFF#000000##000000
##6791DC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#658CDA
Tritanopia (blue-blind)
#27A1AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6791dc;
/* rgb */ color: rgb(103, 145, 220);
/* oklch */ color: oklch(65.9% 0.122 261.4);
Tailwind
colors: {
  custom: {
    50: '#9ab0e7',
    500: '#6791dc',
    950: '#000000',
  },
}
SCSS
$custom: #6791dc;
$custom-light: #9ab0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6791dc",
  "rgb": {
    "r": 103,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 218.462,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.12172,
    "h": 261.4
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

primary
#6791DC
secondary
#E4D5BB
accent
#8B1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #6791DC

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

Preview Lab → · Contrast checker → · Palette generator →

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