#6875E4#6875E4

#6875E4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.167 H 275.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6875E4
RGBrgb(104, 117, 228)
HSLhsl(234, 70%, 65%)
HSVhsv(234, 54%, 89%)
CMYKcmyk(54.4%, 48.7%, 0%, 10.6%)
CIE-LABlab(53.24, 26.42, -58.12)
CIE-LCHlch(53.24, 63.85, 294.44°)
OKLaboklab(60.7% 0.0153 -0.1659)
OKLCHoklch(60.7% 0.167 275.3)
XYZxyz(26.0693, 21.2653, 76.1146)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6875E4 #E4D768
analogous
#68B3E4 #6875E4 #9968E4
triadic
#6875E4 #E46875 #75E468
tetradic
#6875E4 #E468B3 #E4D768 #68E499
square
#6875E4 #E468B3 #E4D768 #68E499
split-complementary
#6875E4 #E49968 #B3E468
monochromatic
#202FB2 #3446DB #6875E4 #9CA4ED #D0D4F7

Accessibility & contrast

On white

4.00
#6875E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6875E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6875E4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6875E4#FFFFFF#000000##000000
##6875E41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#288EA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6875e4;
/* rgb */ color: rgb(104, 117, 228);
/* oklch */ color: oklch(60.7% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#9c9ced',
    500: '#6875e4',
    950: '#000000',
  },
}
SCSS
$custom: #6875e4;
$custom-light: #9c9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#6875e4",
  "rgb": {
    "r": 104,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 233.71,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.16656,
    "h": 275.3
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#6875E4
secondary
#E9E5BF
accent
#BE14D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6875E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6875E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva