#6298FD#6298FD

#6298FD is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.160 H 261.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6298FD
RGBrgb(98, 152, 253)
HSLhsl(219, 97%, 69%)
HSVhsv(219, 61%, 99%)
CMYKcmyk(61.3%, 39.9%, 0%, 0.8%)
CIE-LABlab(63.46, 12.40, -55.66)
CIE-LCHlch(63.46, 57.02, 282.56°)
OKLaboklab(68.89% -0.0227 -0.1584)
OKLCHoklch(68.89% 0.16 261.8)
XYZxyz(33.9887, 32.1419, 97.3223)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298FD #FDC762
analogous
#62E5FD #6298FD #7A62FD
triadic
#6298FD #FD6298 #98FD62
tetradic
#6298FD #FD62E5 #FDC762 #62FD7A
square
#6298FD #FD62E5 #FDC762 #62FD7A
split-complementary
#6298FD #FD7A62 #E5FD62
monochromatic
#0351E2 #2670FC #6298FD #9EC0FE #DBE7FF

Accessibility & contrast

On white

2.83
#6298FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#6298FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298FD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298FD#FFFFFF#000000##000000
##6298FD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6298fd;
/* rgb */ color: rgb(98, 152, 253);
/* oklch */ color: oklch(68.9% 0.160 261.8);
Tailwind
colors: {
  custom: {
    50: '#9bb5fe',
    500: '#6298fd',
    950: '#000000',
  },
}
SCSS
$custom: #6298fd;
$custom-light: #9bb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6298fd",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 219.097,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.15998,
    "h": 261.8
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#6298FD
secondary
#F4E4C6
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6298FD

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

Preview Lab → · Contrast checker → · Palette generator →

#6298FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva