#6298FE#6298FE

#6298FE is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.0% C 0.161 H 262.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6298FE
RGBrgb(98, 152, 254)
HSLhsl(219, 99%, 69%)
HSVhsv(219, 61%, 100%)
CMYKcmyk(61.4%, 40.2%, 0%, 0.4%)
CIE-LABlab(63.51, 12.72, -56.12)
CIE-LCHlch(63.51, 57.54, 282.78°)
OKLaboklab(68.95% -0.0225 -0.1597)
OKLCHoklch(68.95% 0.161 262)
XYZxyz(34.1484, 32.2058, 98.1635)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298FE #FEC862
analogous
#62E6FE #6298FE #7A62FE
triadic
#6298FE #FE6298 #98FE62
tetradic
#6298FE #FE62E6 #FEC862 #62FE7A
square
#6298FE #FE62E6 #FEC862 #62FE7A
split-complementary
#6298FE #FE7A62 #E6FE62
monochromatic
#0150E4 #2570FE #6298FE #9FC0FE #DCE8FF

Accessibility & contrast

On white

2.82
#6298FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#6298FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298FE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298FE#FFFFFF#000000##000000
##6298FE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#5493FC
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6298fe;
/* rgb */ color: rgb(98, 152, 254);
/* oklch */ color: oklch(69.0% 0.161 262.0);
Tailwind
colors: {
  custom: {
    50: '#9bb5ff',
    500: '#6298fe',
    950: '#000000',
  },
}
SCSS
$custom: #6298fe;
$custom-light: #9bb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6298fe",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 219.231,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.16129,
    "h": 262
  },
  "luminance": 0.32209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6298FE

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

Preview Lab → · Contrast checker → · Palette generator →

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