#6298EB#6298EB

#6298EB is a light, vivid blue. Relative luminance 0.311; OKLCH L 67.9% C 0.136 H 258.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6298EB
RGBrgb(98, 152, 235)
HSLhsl(216, 77%, 65%)
HSVhsv(216, 58%, 92%)
CMYKcmyk(58.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.55, 6.54, -47.22)
CIE-LCHlch(62.55, 47.67, 277.89°)
OKLaboklab(67.89% -0.0267 -0.1337)
OKLCHoklch(67.89% 0.136 258.7)
XYZxyz(31.2554, 31.0486, 82.9270)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298EB #EBB562
analogous
#62DDEB #6298EB #7062EB
triadic
#6298EB #EB6298 #98EB62
tetradic
#6298EB #EB62DD #EBB562 #62EB70
square
#6298EB #EB62DD #EBB562 #62EB70
split-complementary
#6298EB #EB7062 #DDEB62
monochromatic
#1858BB #2C74E4 #6298EB #98BCF2 #CFDFF9

Accessibility & contrast

On white

2.91
#6298EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#6298EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298EB#FFFFFF#000000##000000
##6298EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6298eb;
/* rgb */ color: rgb(98, 152, 235);
/* oklch */ color: oklch(67.9% 0.136 258.7);
Tailwind
colors: {
  custom: {
    50: '#99b5f2',
    500: '#6298eb',
    950: '#000000',
  },
}
SCSS
$custom: #6298eb;
$custom-light: #99b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6298eb",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 216.35,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.1363,
    "h": 258.7
  },
  "luminance": 0.31051
}

Semantic roles & 50–950 ramp

primary
#6298EB
secondary
#EBD9BD
accent
#890CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6298EB

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

Preview Lab → · Contrast checker → · Palette generator →

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