#6785EB#6785EB

#6785EB is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.156 H 269.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6785EB
RGBrgb(103, 133, 235)
HSLhsl(226, 77%, 66%)
HSVhsv(226, 56%, 92%)
CMYKcmyk(56.2%, 43.4%, 0%, 7.8%)
CIE-LABlab(57.71, 18.79, -54.88)
CIE-LCHlch(57.71, 58.01, 288.90°)
OKLaboklab(64.22% -0.0019 -0.1562)
OKLCHoklch(64.22% 0.156 269.3)
XYZxyz(28.9715, 25.6546, 82.0063)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6785EB #EBCD67
analogous
#67C7EB #6785EB #8B67EB
triadic
#6785EB #EB6785 #85EB67
tetradic
#6785EB #EB67C7 #EBCD67 #67EB8B
square
#6785EB #EB67C7 #EBCD67 #67EB8B
split-complementary
#6785EB #EB8B67 #C7EB67
monochromatic
#193FBF #315AE4 #6785EB #9DB0F2 #D3DCF9

Accessibility & contrast

On white

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

On black

6.13
#6785EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6785EB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6785EB#FFFFFF#000000##000000
##6785EB1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#0C9CAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6785eb;
/* rgb */ color: rgb(103, 133, 235);
/* oklch */ color: oklch(64.2% 0.156 269.3);
Tailwind
colors: {
  custom: {
    50: '#9ca8f2',
    500: '#6785eb',
    950: '#000000',
  },
}
SCSS
$custom: #6785eb;
$custom-light: #9ca8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6785eb",
  "rgb": {
    "r": 103,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 226.364,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.15622,
    "h": 269.3
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#6785EB
secondary
#ECE3C1
accent
#AB0DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6785EB

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

Preview Lab → · Contrast checker → · Palette generator →

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