#6298F5#6298F5

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

Color values

HEX#6298F5
RGBrgb(98, 152, 245)
HSLhsl(218, 88%, 67%)
HSVhsv(218, 60%, 96%)
CMYKcmyk(60%, 38%, 0%, 3.9%)
CIE-LABlab(63.05, 9.78, -51.93)
CIE-LCHlch(63.05, 52.84, 280.67°)
OKLaboklab(68.44% -0.0244 -0.1474)
OKLCHoklch(68.44% 0.149 260.6)
XYZxyz(32.7409, 31.6428, 90.7508)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298F5 #F5BF62
analogous
#62E2F5 #6298F5 #7562F5
triadic
#6298F5 #F56298 #98F562
tetradic
#6298F5 #F562E2 #F5BF62 #62F575
square
#6298F5 #F562E2 #F5BF62 #62F575
split-complementary
#6298F5 #F57562 #E2F562
monochromatic
#0D55CF #2872F1 #6298F5 #9CBEF9 #D5E3FC

Accessibility & contrast

On white

2.87
#6298F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#6298F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298F5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298F5#FFFFFF#000000##000000
##6298F51.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)
#70A0F9
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6298f5;
/* rgb */ color: rgb(98, 152, 245);
/* oklch */ color: oklch(68.4% 0.149 260.6);
Tailwind
colors: {
  custom: {
    50: '#9ab5f9',
    500: '#6298f5',
    950: '#000000',
  },
}
SCSS
$custom: #6298f5;
$custom-light: #9ab5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6298f5",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 217.959,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68437,
    "c": 0.14945,
    "h": 260.6
  },
  "luminance": 0.31646
}

Semantic roles & 50–950 ramp

primary
#6298F5
secondary
#F1E0C2
accent
#9101E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6298F5

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

Preview Lab → · Contrast checker → · Palette generator →

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