#6874CA#6874CA

#6874CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.9% C 0.132 H 275.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6874CA
RGBrgb(104, 116, 202)
HSLhsl(233, 48%, 60%)
HSVhsv(233, 49%, 79%)
CMYKcmyk(48.5%, 42.6%, 0%, 20.8%)
CIE-LABlab(51.49, 18.90, -46.20)
CIE-LCHlch(51.49, 49.92, 292.25°)
OKLaboklab(58.89% 0.0129 -0.1309)
OKLCHoklch(58.89% 0.132 275.6)
XYZxyz(22.6117, 19.6968, 58.4761)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6874CA #CABE68
analogous
#68A5CA #6874CA #8D68CA
triadic
#6874CA #CA6874 #74CA68
tetradic
#6874CA #CA68A5 #CABE68 #68CA8D
square
#6874CA #CA68A5 #CABE68 #68CA8D
split-complementary
#6874CA #CA8D68 #A5CA68
monochromatic
#303B88 #404EB5 #6874CA #959EDA #C3C7EA

Accessibility & contrast

On white

4.25
#6874CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6874CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6874CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6874CA#FFFFFF#000000##000000
##6874CA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#428695
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6874ca;
/* rgb */ color: rgb(104, 116, 202);
/* oklch */ color: oklch(58.9% 0.132 275.6);
Tailwind
colors: {
  custom: {
    50: '#999bda',
    500: '#6874ca',
    950: '#000000',
  },
}
SCSS
$custom: #6874ca;
$custom-light: #999bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6874ca",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 232.653,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.13152,
    "h": 275.6
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#6874CA
secondary
#DAD5B4
accent
#C750D8
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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