#6298FA#6298FA

#6298FA is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.7% C 0.156 H 261.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6298FA
RGBrgb(98, 152, 250)
HSLhsl(219, 94%, 68%)
HSVhsv(219, 61%, 98%)
CMYKcmyk(60.8%, 39.2%, 0%, 2%)
CIE-LABlab(63.30, 11.41, -54.26)
CIE-LCHlch(63.30, 55.45, 281.88°)
OKLaboklab(68.72% -0.0233 -0.1543)
OKLCHoklch(68.72% 0.156 261.4)
XYZxyz(33.5145, 31.9523, 94.8252)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298FA #FAC462
analogous
#62E4FA #6298FA #7862FA
triadic
#6298FA #FA6298 #98FA62
tetradic
#6298FA #FA62E4 #FAC462 #62FA78
square
#6298FA #FA62E4 #FAC462 #62FA78
split-complementary
#6298FA #FA7862 #E4FA62
monochromatic
#0752DB #2771F8 #6298FA #9DBFFC #D9E6FE

Accessibility & contrast

On white

2.84
#6298FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#6298FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298FA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298FA#FFFFFF#000000##000000
##6298FA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6298fa;
/* rgb */ color: rgb(98, 152, 250);
/* oklch */ color: oklch(68.7% 0.156 261.4);
Tailwind
colors: {
  custom: {
    50: '#9bb5fc',
    500: '#6298fa',
    950: '#000000',
  },
}
SCSS
$custom: #6298fa;
$custom-light: #9bb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6298fa",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 218.684,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6872,
    "c": 0.15603,
    "h": 261.4
  },
  "luminance": 0.31955
}

Semantic roles & 50–950 ramp

primary
#6298FA
secondary
#F3E3C5
accent
#9400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6298FA

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

Preview Lab → · Contrast checker → · Palette generator →

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