#6791FC#6791FC

#6791FC is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.7% C 0.165 H 266.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6791FC
RGBrgb(103, 145, 252)
HSLhsl(223, 96%, 70%)
HSVhsv(223, 59%, 99%)
CMYKcmyk(59.1%, 42.5%, 0%, 1.2%)
CIE-LABlab(61.79, 17.12, -57.75)
CIE-LCHlch(61.79, 60.23, 286.51°)
OKLaboklab(67.65% -0.0115 -0.1645)
OKLCHoklch(67.65% 0.165 266)
XYZxyz(33.2836, 30.1598, 96.1440)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6791FC #FCD267
analogous
#67DCFC #6791FC #8867FC
triadic
#6791FC #FC6791 #91FC67
tetradic
#6791FC #FC67DC #FCD267 #67FC88
square
#6791FC #FC67DC #FCD267 #67FC88
split-complementary
#6791FC #FC8867 #DCFC67
monochromatic
#0544E4 #2B66FB #6791FC #A3BCFD #DFE8FE

Accessibility & contrast

On white

2.99
#6791FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#6791FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6791FC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6791FC#FFFFFF#000000##000000
##6791FC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#00A9BA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6791fc;
/* rgb */ color: rgb(103, 145, 252);
/* oklch */ color: oklch(67.7% 0.165 266.0);
Tailwind
colors: {
  custom: {
    50: '#9eb0fe',
    500: '#6791fc',
    950: '#000000',
  },
}
SCSS
$custom: #6791fc;
$custom-light: #9eb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6791fc",
  "rgb": {
    "r": 103,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 223.087,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.16489,
    "h": 266
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#6791FC
secondary
#F5E9CA
accent
#A500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #6791FC

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

Preview Lab → · Contrast checker → · Palette generator →

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