#6B70F8#6B70F8

#6B70F8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.199 H 277.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6B70F8
RGBrgb(107, 112, 248)
HSLhsl(238, 91%, 70%)
HSVhsv(238, 57%, 97%)
CMYKcmyk(56.9%, 54.8%, 0%, 2.7%)
CIE-LABlab(53.48, 36.33, -68.88)
CIE-LCHlch(53.48, 77.88, 297.81°)
OKLaboklab(61.34% 0.0249 -0.1975)
OKLCHoklch(61.34% 0.199 277.2)
XYZxyz(28.7954, 21.4894, 91.4192)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B70F8 #F8F36B
analogous
#6BB7F8 #6B70F8 #AC6BF8
triadic
#6B70F8 #F86B70 #70F86B
tetradic
#6B70F8 #F86BB7 #F8F36B #6BF8AC
square
#6B70F8 #F86BB7 #F8F36B #6BF8AC
split-complementary
#6B70F8 #F8AC6B #B7F86B
monochromatic
#0B12DE #3138F5 #6B70F8 #A5A8FB #E0E1FE

Accessibility & contrast

On white

3.96
#6B70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6B70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B70F8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B70F8#FFFFFF#000000##000000
##6B70F81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0286FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#0E90A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b70f8;
/* rgb */ color: rgb(107, 112, 248);
/* oklch */ color: oklch(61.3% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#a199fb',
    500: '#6b70f8',
    950: '#000000',
  },
}
SCSS
$custom: #6b70f8;
$custom-light: #a199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b70f8",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 237.872,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.19905,
    "h": 277.2
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#6B70F8
secondary
#F4F2CB
accent
#DD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6B70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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