#6897EC#6897EC

#6897EC is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.136 H 261.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6897EC
RGBrgb(104, 151, 236)
HSLhsl(219, 78%, 67%)
HSVhsv(219, 56%, 93%)
CMYKcmyk(55.9%, 36%, 0%, 7.5%)
CIE-LABlab(62.62, 8.64, -47.64)
CIE-LCHlch(62.62, 48.42, 280.28°)
OKLaboklab(68.04% -0.0201 -0.1348)
OKLCHoklch(68.04% 0.136 261.5)
XYZxyz(31.9106, 31.1298, 83.6677)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6897EC #ECBD68
analogous
#68D9EC #6897EC #7B68EC
triadic
#6897EC #EC6897 #97EC68
tetradic
#6897EC #EC68D9 #ECBD68 #68EC7B
square
#6897EC #EC68D9 #ECBD68 #68EC7B
split-complementary
#6897EC #EC7B68 #D9EC68
monochromatic
#1854C1 #3272E5 #6897EC #9EBCF3 #D5E2FA

Accessibility & contrast

On white

2.91
#6897EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#6897EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6897EC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6897EC#FFFFFF#000000##000000
##6897EC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6897ec;
/* rgb */ color: rgb(104, 151, 236);
/* oklch */ color: oklch(68.0% 0.136 261.5);
Tailwind
colors: {
  custom: {
    50: '#9cb5f2',
    500: '#6897ec',
    950: '#000000',
  },
}
SCSS
$custom: #6897ec;
$custom-light: #9cb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6897ec",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 218.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68036,
    "c": 0.13632,
    "h": 261.5
  },
  "luminance": 0.31132
}

Semantic roles & 50–950 ramp

primary
#6897EC
secondary
#EDDEC3
accent
#900CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6897EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6897EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva