#6898EC#6898EC

#6898EC is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.2% C 0.135 H 261.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6898EC
RGBrgb(104, 152, 236)
HSLhsl(218, 78%, 67%)
HSVhsv(218, 56%, 93%)
CMYKcmyk(55.9%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.89, 8.06, -47.21)
CIE-LCHlch(62.89, 47.90, 279.69°)
OKLaboklab(68.25% -0.0212 -0.1336)
OKLCHoklch(68.25% 0.135 261)
XYZxyz(32.0723, 31.4531, 83.7216)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6898EC #ECBC68
analogous
#68DAEC #6898EC #7A68EC
triadic
#6898EC #EC6898 #98EC68
tetradic
#6898EC #EC68DA #ECBC68 #68EC7A
square
#6898EC #EC68DA #ECBC68 #68EC7A
split-complementary
#6898EC #EC7A68 #DAEC68
monochromatic
#1856C1 #3273E5 #6898EC #9EBDF3 #D5E2FA

Accessibility & contrast

On white

2.88
#6898EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#6898EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6898EC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6898EC#FFFFFF#000000##000000
##6898EC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#6593EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6898ec;
/* rgb */ color: rgb(104, 152, 236);
/* oklch */ color: oklch(68.2% 0.135 261.0);
Tailwind
colors: {
  custom: {
    50: '#9cb5f2',
    500: '#6898ec',
    950: '#000000',
  },
}
SCSS
$custom: #6898ec;
$custom-light: #9cb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6898ec",
  "rgb": {
    "r": 104,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 218.182,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68246,
    "c": 0.13524,
    "h": 261
  },
  "luminance": 0.31456
}

Semantic roles & 50–950 ramp

primary
#6898EC
secondary
#EDDEC3
accent
#8F0CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6898EC

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

Preview Lab → · Contrast checker → · Palette generator →

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