#6795F2#6795F2

#6795F2 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.9% C 0.147 H 263.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6795F2
RGBrgb(103, 149, 242)
HSLhsl(220, 84%, 68%)
HSVhsv(220, 57%, 95%)
CMYKcmyk(57.4%, 38.4%, 0%, 5.1%)
CIE-LABlab(62.33, 11.53, -51.41)
CIE-LCHlch(62.33, 52.68, 282.64°)
OKLaboklab(67.9% -0.0175 -0.1459)
OKLCHoklch(67.9% 0.147 263.1)
XYZxyz(32.3625, 30.7866, 88.2242)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6795F2 #F2C467
analogous
#67DAF2 #6795F2 #7F67F2
triadic
#6795F2 #F26795 #95F267
tetradic
#6795F2 #F267DA #F2C467 #67F27F
square
#6795F2 #F267DA #F2C467 #67F27F
split-complementary
#6795F2 #F27F67 #DAF267
monochromatic
#1250CD #2F6EED #6795F2 #9FBCF7 #D8E4FC

Accessibility & contrast

On white

2.93
#6795F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#6795F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6795F2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6795F2#FFFFFF#000000##000000
##6795F21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6795f2;
/* rgb */ color: rgb(103, 149, 242);
/* oklch */ color: oklch(67.9% 0.147 263.1);
Tailwind
colors: {
  custom: {
    50: '#9cb3f7',
    500: '#6795f2',
    950: '#000000',
  },
}
SCSS
$custom: #6795f2;
$custom-light: #9cb3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6795f2",
  "rgb": {
    "r": 103,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 220.144,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.14691,
    "h": 263.1
  },
  "luminance": 0.30789
}

Semantic roles & 50–950 ramp

primary
#6795F2
secondary
#F0E2C5
accent
#9805E1
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6795F2

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

Preview Lab → · Contrast checker → · Palette generator →

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