#6870EA#6870EA

#6870EA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.181 H 276.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6870EA
RGBrgb(104, 112, 234)
HSLhsl(236, 76%, 66%)
HSVhsv(236, 56%, 92%)
CMYKcmyk(55.6%, 52.1%, 0%, 8.2%)
CIE-LABlab(52.36, 31.35, -62.89)
CIE-LCHlch(52.36, 70.27, 296.49°)
OKLaboklab(60.16% 0.021 -0.1799)
OKLCHoklch(60.16% 0.181 276.7)
XYZxyz(26.3496, 20.4701, 80.3886)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6870EA #EAE268
analogous
#68B1EA #6870EA #A168EA
triadic
#6870EA #EA6870 #70EA68
tetradic
#6870EA #EA68B1 #EAE268 #68EAA1
square
#6870EA #EA68B1 #EAE268 #68EAA1
split-complementary
#6870EA #EAA168 #B1EA68
monochromatic
#1A24BD #323DE3 #6870EA #9EA3F1 #D3D6F9

Accessibility & contrast

On white

4.12
#6870EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6870EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6870EA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6870EA#FFFFFF#000000##000000
##6870EA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#0978E7
Tritanopia (blue-blind)
#208CA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6870ea;
/* rgb */ color: rgb(104, 112, 234);
/* oklch */ color: oklch(60.2% 0.181 276.7);
Tailwind
colors: {
  custom: {
    50: '#9d99f1',
    500: '#6870ea',
    950: '#000000',
  },
}
SCSS
$custom: #6870ea;
$custom-light: #9d99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6870ea",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 236.308,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.18115,
    "h": 276.7
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#6870EA
secondary
#ECEAC2
accent
#CB0ED8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6870EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6870EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva