#6A70EB#6A70EB

#6A70EB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.182 H 277.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6A70EB
RGBrgb(106, 112, 235)
HSLhsl(237, 76%, 67%)
HSVhsv(237, 55%, 92%)
CMYKcmyk(54.9%, 52.3%, 0%, 7.8%)
CIE-LABlab(52.56, 32.05, -63.13)
CIE-LCHlch(52.56, 70.80, 296.92°)
OKLaboklab(60.37% 0.0233 -0.1806)
OKLCHoklch(60.37% 0.182 277.3)
XYZxyz(26.7287, 20.6489, 81.1583)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A70EB #EBE56A
analogous
#6AB1EB #6A70EB #A56AEB
triadic
#6A70EB #EB6A70 #70EB6A
tetradic
#6A70EB #EB6AB1 #EBE56A #6AEBA5
square
#6A70EB #EB6AB1 #EBE56A #6AEBA5
split-complementary
#6A70EB #EBA56A #B1EB6A
monochromatic
#1A22C1 #343CE4 #6A70EB #A0A4F2 #D6D8F9

Accessibility & contrast

On white

4.09
#6A70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6A70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A70EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A70EB#FFFFFF#000000##000000
##6A70EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#278CA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a70eb;
/* rgb */ color: rgb(106, 112, 235);
/* oklch */ color: oklch(60.4% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#9e99f2',
    500: '#6a70eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a70eb;
$custom-light: #9e99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a70eb",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 237.209,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.18207,
    "h": 277.3
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#6A70EB
secondary
#EDEBC4
accent
#CF0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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