#6A72EC#6A72EC

#6A72EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.181 H 276.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6A72EC
RGBrgb(106, 114, 236)
HSLhsl(236, 77%, 67%)
HSVhsv(236, 55%, 93%)
CMYKcmyk(55.1%, 51.7%, 0%, 7.5%)
CIE-LABlab(53.12, 31.16, -62.79)
CIE-LCHlch(53.12, 70.10, 296.39°)
OKLaboklab(60.8% 0.0213 -0.1796)
OKLCHoklch(60.8% 0.181 276.8)
XYZxyz(27.0967, 21.1531, 81.9957)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A72EC #ECE46A
analogous
#6AB3EC #6A72EC #A36AEC
triadic
#6A72EC #EC6A72 #72EC6A
tetradic
#6A72EC #EC6AB3 #ECE46A #6AECA3
square
#6A72EC #EC6AB3 #ECE46A #6AECA3
split-complementary
#6A72EC #ECA36A #B3EC6A
monochromatic
#1923C3 #343FE5 #6A72EC #A0A5F3 #D7D9FA

Accessibility & contrast

On white

4.01
#6A72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6A72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A72EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A72EC#FFFFFF#000000##000000
##6A72EC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#137AE9
Tritanopia (blue-blind)
#258EA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a72ec;
/* rgb */ color: rgb(106, 114, 236);
/* oklch */ color: oklch(60.8% 0.181 276.8);
Tailwind
colors: {
  custom: {
    50: '#9e9af3',
    500: '#6a72ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a72ec;
$custom-light: #9e9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a72ec",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 236.308,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.18083,
    "h": 276.8
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#6A72EC
secondary
#EEEBC4
accent
#CD0CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A72EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A72EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva