#6297EF#6297EF

#6297EF is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.143 H 260.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6297EF
RGBrgb(98, 151, 239)
HSLhsl(217, 82%, 66%)
HSVhsv(217, 59%, 94%)
CMYKcmyk(59%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.47, 8.42, -49.54)
CIE-LCHlch(62.47, 50.25, 279.65°)
OKLaboklab(67.89% -0.0247 -0.1405)
OKLCHoklch(67.89% 0.143 260)
XYZxyz(31.6782, 30.9591, 85.9509)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6297EF #EFBA62
analogous
#62DDEF #6297EF #7362EF
triadic
#6297EF #EF6297 #97EF62
tetradic
#6297EF #EF62DD #EFBA62 #62EF73
square
#6297EF #EF62DD #EFBA62 #62EF73
split-complementary
#6297EF #EF7362 #DDEF62
monochromatic
#1456C3 #2A72E9 #6297EF #9ABCF5 #D1E1FA

Accessibility & contrast

On white

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

On black

7.19
#6297EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6297EF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6297EF#FFFFFF#000000##000000
##6297EF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6297ef;
/* rgb */ color: rgb(98, 151, 239);
/* oklch */ color: oklch(67.9% 0.143 260.0);
Tailwind
colors: {
  custom: {
    50: '#99b5f4',
    500: '#6297ef',
    950: '#000000',
  },
}
SCSS
$custom: #6297ef;
$custom-light: #99b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6297ef",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 217.447,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67894,
    "c": 0.14262,
    "h": 260
  },
  "luminance": 0.30962
}

Semantic roles & 50–950 ramp

primary
#6297EF
secondary
#EEDCBF
accent
#8D08DE
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6297EF

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

Preview Lab → · Contrast checker → · Palette generator →

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