#6298EA#6298EA

#6298EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.8% C 0.135 H 258.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6298EA
RGBrgb(98, 152, 234)
HSLhsl(216, 76%, 65%)
HSVhsv(216, 58%, 92%)
CMYKcmyk(58.1%, 35%, 0%, 8.2%)
CIE-LABlab(62.50, 6.22, -46.74)
CIE-LCHlch(62.50, 47.15, 277.58°)
OKLaboklab(67.83% -0.0269 -0.1323)
OKLCHoklch(67.83% 0.135 258.5)
XYZxyz(31.1113, 30.9910, 82.1683)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298EA #EAB462
analogous
#62DCEA #6298EA #7062EA
triadic
#6298EA #EA6298 #98EA62
tetradic
#6298EA #EA62DC #EAB462 #62EA70
square
#6298EA #EA62DC #EAB462 #62EA70
split-complementary
#6298EA #EA7062 #DCEA62
monochromatic
#1958B9 #2C75E3 #6298EA #98BBF1 #CEDFF8

Accessibility & contrast

On white

2.92
#6298EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#6298EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298EA#FFFFFF#000000##000000
##6298EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6298ea;
/* rgb */ color: rgb(98, 152, 234);
/* oklch */ color: oklch(67.8% 0.135 258.5);
Tailwind
colors: {
  custom: {
    50: '#99b5f1',
    500: '#6298ea',
    950: '#000000',
  },
}
SCSS
$custom: #6298ea;
$custom-light: #99b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6298ea",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 216.176,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.13499,
    "h": 258.5
  },
  "luminance": 0.30994
}

Semantic roles & 50–950 ramp

primary
#6298EA
secondary
#EBD9BD
accent
#880DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6298EA

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

Preview Lab → · Contrast checker → · Palette generator →

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