#6785EC#6785EC

#6785EC is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.3% C 0.158 H 269.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6785EC
RGBrgb(103, 133, 236)
HSLhsl(226, 78%, 66%)
HSVhsv(226, 56%, 93%)
CMYKcmyk(56.4%, 43.6%, 0%, 7.5%)
CIE-LABlab(57.76, 19.11, -55.35)
CIE-LCHlch(57.76, 58.56, 289.05°)
OKLaboklab(64.28% -0.0017 -0.1576)
OKLCHoklch(64.28% 0.158 269.4)
XYZxyz(29.1163, 25.7125, 82.7693)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6785EC #ECCE67
analogous
#67C8EC #6785EC #8C67EC
triadic
#6785EC #EC6785 #85EC67
tetradic
#6785EC #EC67C8 #ECCE67 #67EC8C
square
#6785EC #EC67C8 #ECCE67 #67EC8C
split-complementary
#6785EC #EC8C67 #C8EC67
monochromatic
#183EC1 #3159E5 #6785EC #9DB1F3 #D4DCFA

Accessibility & contrast

On white

3.42
#6785EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#6785EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6785EC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6785EC#FFFFFF#000000##000000
##6785EC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#089CAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6785ec;
/* rgb */ color: rgb(103, 133, 236);
/* oklch */ color: oklch(64.3% 0.158 269.4);
Tailwind
colors: {
  custom: {
    50: '#9ca8f3',
    500: '#6785ec',
    950: '#000000',
  },
}
SCSS
$custom: #6785ec;
$custom-light: #9ca8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6785ec",
  "rgb": {
    "r": 103,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 226.466,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64279,
    "c": 0.15759,
    "h": 269.4
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#6785EC
secondary
#EDE3C2
accent
#AB0BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6785EC

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

Preview Lab → · Contrast checker → · Palette generator →

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