#6898EF#6898EF

#6898EF is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.139 H 261.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6898EF
RGBrgb(104, 152, 239)
HSLhsl(219, 81%, 67%)
HSVhsv(219, 56%, 94%)
CMYKcmyk(56.5%, 36.4%, 0%, 6.3%)
CIE-LABlab(63.03, 9.01, -48.63)
CIE-LCHlch(63.03, 49.46, 280.50°)
OKLaboklab(68.41% -0.0205 -0.1377)
OKLCHoklch(68.41% 0.139 261.5)
XYZxyz(32.5118, 31.6289, 86.0363)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6898EF #EFBF68
analogous
#68DBEF #6898EF #7C68EF
triadic
#6898EF #EF6898 #98EF68
tetradic
#6898EF #EF68DB #EFBF68 #68EF7C
square
#6898EF #EF68DB #EFBF68 #68EF7C
split-complementary
#6898EF #EF7C68 #DBEF68
monochromatic
#1555C7 #3172E9 #6898EF #9FBEF5 #D7E3FB

Accessibility & contrast

On white

2.87
#6898EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#6898EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6898EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6898EF#FFFFFF#000000##000000
##6898EF1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6898ef;
/* rgb */ color: rgb(104, 152, 239);
/* oklch */ color: oklch(68.4% 0.139 261.5);
Tailwind
colors: {
  custom: {
    50: '#9cb5f4',
    500: '#6898ef',
    950: '#000000',
  },
}
SCSS
$custom: #6898ef;
$custom-light: #9cb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6898ef",
  "rgb": {
    "r": 104,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 218.667,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.13923,
    "h": 261.5
  },
  "luminance": 0.31632
}

Semantic roles & 50–950 ramp

primary
#6898EF
secondary
#EFE0C4
accent
#9108DD
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6898EF

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

Preview Lab → · Contrast checker → · Palette generator →

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