#6297EE#6297EE

#6297EE is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.141 H 259.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6297EE
RGBrgb(98, 151, 238)
HSLhsl(217, 80%, 66%)
HSVhsv(217, 59%, 93%)
CMYKcmyk(58.8%, 36.6%, 0%, 6.7%)
CIE-LABlab(62.42, 8.10, -49.07)
CIE-LCHlch(62.42, 49.73, 279.37°)
OKLaboklab(67.84% -0.0249 -0.1391)
OKLCHoklch(67.84% 0.141 259.9)
XYZxyz(31.5308, 30.9002, 85.1751)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6297EE #EEB962
analogous
#62DDEE #6297EE #7362EE
triadic
#6297EE #EE6297 #97EE62
tetradic
#6297EE #EE62DD #EEB962 #62EE73
square
#6297EE #EE62DD #EEB962 #62EE73
split-complementary
#6297EE #EE7362 #DDEE62
monochromatic
#1556C1 #2B72E8 #6297EE #99BCF4 #D0E0FA

Accessibility & contrast

On white

2.92
#6297EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#6297EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6297EE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6297EE#FFFFFF#000000##000000
##6297EE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6297ee;
/* rgb */ color: rgb(98, 151, 238);
/* oklch */ color: oklch(67.8% 0.141 259.9);
Tailwind
colors: {
  custom: {
    50: '#99b5f4',
    500: '#6297ee',
    950: '#000000',
  },
}
SCSS
$custom: #6297ee;
$custom-light: #99b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6297ee",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 217.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67839,
    "c": 0.1413,
    "h": 259.9
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#6297EE
secondary
#EDDCBF
accent
#8D09DD
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6297EE

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

Preview Lab → · Contrast checker → · Palette generator →

#6297EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva