#6B98FE#6B98FE

#6B98FE is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.158 H 264.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6B98FE
RGBrgb(107, 152, 254)
HSLhsl(222, 99%, 71%)
HSVhsv(222, 58%, 100%)
CMYKcmyk(57.9%, 40.2%, 0%, 0.4%)
CIE-LABlab(63.95, 14.38, -55.40)
CIE-LCHlch(63.95, 57.24, 284.55°)
OKLaboklab(69.4% -0.0147 -0.1575)
OKLCHoklch(69.4% 0.158 264.7)
XYZxyz(35.1749, 32.7351, 98.2116)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B98FE #FED16B
analogous
#6BE1FE #6B98FE #876BFE
triadic
#6B98FE #FE6B98 #98FE6B
tetradic
#6B98FE #FE6BE1 #FED16B #6BFE87
square
#6B98FE #FE6BE1 #FED16B #6BFE87
split-complementary
#6B98FE #FE876B #E1FE6B
monochromatic
#024AED #2E6EFE #6B98FE #A8C2FE #E1EAFF

Accessibility & contrast

On white

2.78
#6B98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#6B98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6B98FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B98FE#FFFFFF#000000##000000
##6B98FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#5895FC
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #6b98fe;
/* rgb */ color: rgb(107, 152, 254);
/* oklch */ color: oklch(69.4% 0.158 264.7);
Tailwind
colors: {
  custom: {
    50: '#a0b5ff',
    500: '#6b98fe',
    950: '#000000',
  },
}
SCSS
$custom: #6b98fe;
$custom-light: #a0b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6b98fe",
  "rgb": {
    "r": 107,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 221.633,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.15814,
    "h": 264.7
  },
  "luminance": 0.32738
}

Semantic roles & 50–950 ramp

primary
#6B98FE
secondary
#F6EACF
accent
#9F00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #6B98FE

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

Preview Lab → · Contrast checker → · Palette generator →

#6B98FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva