#6874EF#6874EF

#6874EF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.2% C 0.183 H 275.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6874EF
RGBrgb(104, 116, 239)
HSLhsl(235, 81%, 67%)
HSVhsv(235, 56%, 94%)
CMYKcmyk(56.5%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.67, 30.52, -63.58)
CIE-LCHlch(53.67, 70.53, 295.64°)
OKLaboklab(61.24% 0.0173 -0.1819)
OKLCHoklch(61.24% 0.183 275.4)
XYZxyz(27.5293, 21.6638, 84.3755)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874EF #EFE368
analogous
#68B7EF #6874EF #A068EF
triadic
#6874EF #EF6874 #74EF68
tetradic
#6874EF #EF68B7 #EFE368 #68EFA0
square
#6874EF #EF68B7 #EFE368 #68EFA0
split-complementary
#6874EF #EFA068 #B7EF68
monochromatic
#1525C7 #3141E9 #6874EF #9FA7F5 #D7DAFB

Accessibility & contrast

On white

3.94
#6874EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6874EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874EF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874EF#FFFFFF#000000##000000
##6874EF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#0E7BEC
Tritanopia (blue-blind)
#1290A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6874ef;
/* rgb */ color: rgb(104, 116, 239);
/* oklch */ color: oklch(61.2% 0.183 275.4);
Tailwind
colors: {
  custom: {
    50: '#9d9bf5',
    500: '#6874ef',
    950: '#000000',
  },
}
SCSS
$custom: #6874ef;
$custom-light: #9d9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6874ef",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 234.667,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.18275,
    "h": 275.4
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#6874EF
secondary
#EFEBC4
accent
#CA08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6874EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6874EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva