#6788EF#6788EF

#6788EF is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.158 H 268.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6788EF
RGBrgb(103, 136, 239)
HSLhsl(225, 81%, 67%)
HSVhsv(225, 57%, 94%)
CMYKcmyk(56.9%, 43.1%, 0%, 6.3%)
CIE-LABlab(58.72, 18.28, -55.50)
CIE-LCHlch(58.72, 58.43, 288.23°)
OKLaboklab(65.06% -0.0044 -0.158)
OKLCHoklch(65.06% 0.158 268.4)
XYZxyz(29.9724, 26.7215, 85.2229)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6788EF #EFCE67
analogous
#67CCEF #6788EF #8A67EF
triadic
#6788EF #EF6788 #88EF67
tetradic
#6788EF #EF67CC #EFCE67 #67EF8A
square
#6788EF #EF67CC #EFCE67 #67EF8A
split-complementary
#6788EF #EF8A67 #CCEF67
monochromatic
#1540C7 #305DE9 #6788EF #9EB3F5 #D6DFFB

Accessibility & contrast

On white

3.31
#6788EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6788EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6788EF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6788EF#FFFFFF#000000##000000
##6788EF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4888ED
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6788ef;
/* rgb */ color: rgb(103, 136, 239);
/* oklch */ color: oklch(65.1% 0.158 268.4);
Tailwind
colors: {
  custom: {
    50: '#9caaf5',
    500: '#6788ef',
    950: '#000000',
  },
}
SCSS
$custom: #6788ef;
$custom-light: #9caaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6788ef",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 225.441,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.15804,
    "h": 268.4
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#6788EF
secondary
#EEE4C3
accent
#AA08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #6788EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6788EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva