#6B70EF#6B70EF

#6B70EF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.187 H 277.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B70EF
RGBrgb(107, 112, 239)
HSLhsl(238, 80%, 68%)
HSVhsv(238, 55%, 94%)
CMYKcmyk(55.2%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.89, 33.50, -64.83)
CIE-LCHlch(52.89, 72.97, 297.32°)
OKLaboklab(60.71% 0.0246 -0.1856)
OKLCHoklch(60.71% 0.187 277.6)
XYZxyz(27.4326, 20.9443, 84.2417)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B70EF #EFEA6B
analogous
#6BB2EF #6B70EF #A86BEF
triadic
#6B70EF #EF6B70 #70EF6B
tetradic
#6B70EF #EF6BB2 #EFEA6B #6BEFA8
square
#6B70EF #EF6BB2 #EFEA6B #6BEFA8
split-complementary
#6B70EF #EFA86B #B2EF6B
monochromatic
#161DCA #343BE9 #6B70EF #A2A5F5 #D9DBFB

Accessibility & contrast

On white

4.05
#6B70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6B70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B70EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B70EF#FFFFFF#000000##000000
##6B70EF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#248DA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b70ef;
/* rgb */ color: rgb(107, 112, 239);
/* oklch */ color: oklch(60.7% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#9f99f5',
    500: '#6b70ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b70ef;
$custom-light: #9f99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b70ef",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 237.727,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.18719,
    "h": 277.6
  },
  "luminance": 0.20946
}

Semantic roles & 50–950 ramp

primary
#6B70EF
secondary
#EFEEC7
accent
#D509DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6B70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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