#6770EB#6770EB

#6770EB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.183 H 276.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6770EB
RGBrgb(103, 112, 235)
HSLhsl(236, 77%, 66%)
HSVhsv(236, 56%, 92%)
CMYKcmyk(56.2%, 52.3%, 0%, 7.8%)
CIE-LABlab(52.36, 31.48, -63.46)
CIE-LCHlch(52.36, 70.84, 296.38°)
OKLaboklab(60.17% 0.02 -0.1816)
OKLCHoklch(60.17% 0.183 276.3)
XYZxyz(26.3783, 20.4682, 81.1419)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6770EB #EBE267
analogous
#67B2EB #6770EB #A067EB
triadic
#6770EB #EB6770 #70EB67
tetradic
#6770EB #EB67B2 #EBE267 #67EBA0
square
#6770EB #EB67B2 #EBE267 #67EBA0
split-complementary
#6770EB #EBA067 #B2EB67
monochromatic
#1924BF #313DE4 #6770EB #9DA3F2 #D3D6F9

Accessibility & contrast

On white

4.12
#6770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6770EB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6770EB#FFFFFF#000000##000000
##6770EB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#0078E8
Tritanopia (blue-blind)
#188CA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6770eb;
/* rgb */ color: rgb(103, 112, 235);
/* oklch */ color: oklch(60.2% 0.183 276.3);
Tailwind
colors: {
  custom: {
    50: '#9c99f2',
    500: '#6770eb',
    950: '#000000',
  },
}
SCSS
$custom: #6770eb;
$custom-light: #9c99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6770eb",
  "rgb": {
    "r": 103,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 235.909,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.18271,
    "h": 276.3
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#6770EB
secondary
#ECEAC1
accent
#CB0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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