#6A72EB#6A72EB

#6A72EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.179 H 276.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6A72EB
RGBrgb(106, 114, 235)
HSLhsl(236, 76%, 67%)
HSVhsv(236, 55%, 92%)
CMYKcmyk(54.9%, 51.5%, 0%, 7.8%)
CIE-LABlab(53.05, 30.84, -62.34)
CIE-LCHlch(53.05, 69.55, 296.33°)
OKLaboklab(60.73% 0.0212 -0.1782)
OKLCHoklch(60.73% 0.179 276.8)
XYZxyz(26.9518, 21.0951, 81.2327)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A72EB #EBE36A
analogous
#6AB3EB #6A72EB #A36AEB
triadic
#6A72EB #EB6A72 #72EB6A
tetradic
#6A72EB #EB6AB3 #EBE36A #6AEBA3
square
#6A72EB #EB6AB3 #EBE36A #6AEBA3
split-complementary
#6A72EB #EBA36A #B3EB6A
monochromatic
#1A24C1 #343FE4 #6A72EB #A0A5F2 #D6D8F9

Accessibility & contrast

On white

4.02
#6A72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6A72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A72EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A72EB#FFFFFF#000000##000000
##6A72EB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#177AE8
Tritanopia (blue-blind)
#268DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a72eb;
/* rgb */ color: rgb(106, 114, 235);
/* oklch */ color: oklch(60.7% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#9e9af2',
    500: '#6a72eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a72eb;
$custom-light: #9e9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a72eb",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 236.279,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.17949,
    "h": 276.8
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#6A72EB
secondary
#EDEAC4
accent
#CC0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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