#6897EB#6897EB

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

Color values

HEX#6897EB
RGBrgb(104, 151, 235)
HSLhsl(218, 77%, 66%)
HSVhsv(218, 56%, 92%)
CMYKcmyk(55.7%, 35.7%, 0%, 7.8%)
CIE-LABlab(62.57, 8.33, -47.17)
CIE-LCHlch(62.57, 47.90, 280.01°)
OKLaboklab(67.98% -0.0204 -0.1334)
OKLCHoklch(67.98% 0.135 261.3)
XYZxyz(31.7658, 31.0719, 82.9047)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6897EB #EBBC68
analogous
#68D9EB #6897EB #7B68EB
triadic
#6897EB #EB6897 #97EB68
tetradic
#6897EB #EB68D9 #EBBC68 #68EB7B
square
#6897EB #EB68D9 #EBBC68 #68EB7B
split-complementary
#6897EB #EB7B68 #D9EB68
monochromatic
#1955BF #3272E4 #6897EB #9EBCF2 #D4E1F9

Accessibility & contrast

On white

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

On black

7.21
#6897EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6897EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6897EB#FFFFFF#000000##000000
##6897EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#05AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6897eb;
/* rgb */ color: rgb(104, 151, 235);
/* oklch */ color: oklch(68.0% 0.135 261.3);
Tailwind
colors: {
  custom: {
    50: '#9cb5f2',
    500: '#6897eb',
    950: '#000000',
  },
}
SCSS
$custom: #6897eb;
$custom-light: #9cb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6897eb",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 218.473,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.13498,
    "h": 261.3
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#6897EB
secondary
#EDDDC2
accent
#900DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6897EB

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

Preview Lab → · Contrast checker → · Palette generator →

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