#6B70EB#6B70EB

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

Color values

HEX#6B70EB
RGBrgb(107, 112, 235)
HSLhsl(238, 76%, 67%)
HSVhsv(238, 54%, 92%)
CMYKcmyk(54.5%, 52.3%, 0%, 7.8%)
CIE-LABlab(52.63, 32.24, -63.01)
CIE-LCHlch(52.63, 70.78, 297.10°)
OKLaboklab(60.44% 0.0244 -0.1802)
OKLCHoklch(60.44% 0.182 277.7)
XYZxyz(26.8482, 20.7105, 81.1639)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B70EB #EBE66B
analogous
#6BB0EB #6B70EB #A66BEB
triadic
#6B70EB #EB6B70 #70EB6B
tetradic
#6B70EB #EB6BB0 #EBE66B #6BEBA6
square
#6B70EB #EB6BB0 #EBE66B #6BEBA6
split-complementary
#6B70EB #EBA66B #B0EB6B
monochromatic
#1A21C1 #353CE4 #6B70EB #A1A4F2 #D7D8FA

Accessibility & contrast

On white

4.08
#6B70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6B70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B70EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B70EB#FFFFFF#000000##000000
##6B70EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#0D79E8
Tritanopia (blue-blind)
#2A8CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b70eb;
/* rgb */ color: rgb(107, 112, 235);
/* oklch */ color: oklch(60.4% 0.182 277.7);
Tailwind
colors: {
  custom: {
    50: '#9f99f2',
    500: '#6b70eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b70eb;
$custom-light: #9f99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b70eb",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 237.656,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.18186,
    "h": 277.7
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#6B70EB
secondary
#EDECC5
accent
#D00DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6B70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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