#6772EC#6772EC

#6772EC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.182 H 275.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6772EC
RGBrgb(103, 114, 236)
HSLhsl(235, 78%, 66%)
HSVhsv(235, 56%, 93%)
CMYKcmyk(56.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.92, 30.59, -63.12)
CIE-LCHlch(52.92, 70.14, 295.85°)
OKLaboklab(60.6% 0.018 -0.1806)
OKLCHoklch(60.6% 0.182 275.7)
XYZxyz(26.7463, 20.9724, 81.9793)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6772EC #ECE167
analogous
#67B5EC #6772EC #9F67EC
triadic
#6772EC #EC6772 #72EC67
tetradic
#6772EC #EC67B5 #ECE167 #67EC9F
square
#6772EC #EC67B5 #ECE167 #67EC9F
split-complementary
#6772EC #EC9F67 #B5EC67
monochromatic
#1826C1 #3140E5 #6772EC #9DA4F3 #D4D7FA

Accessibility & contrast

On white

4.04
#6772EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6772EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6772EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6772EC#FFFFFF#000000##000000
##6772EC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#0B79E9
Tritanopia (blue-blind)
#158EA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6772ec;
/* rgb */ color: rgb(103, 114, 236);
/* oklch */ color: oklch(60.6% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d9af3',
    500: '#6772ec',
    950: '#000000',
  },
}
SCSS
$custom: #6772ec;
$custom-light: #9d9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6772ec",
  "rgb": {
    "r": 103,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 235.038,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.18151,
    "h": 275.7
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#6772EC
secondary
#EDE9C2
accent
#C90BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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