#6299EC#6299EC

#6299EC is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.137 H 258.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6299EC
RGBrgb(98, 153, 236)
HSLhsl(216, 78%, 65%)
HSVhsv(216, 58%, 93%)
CMYKcmyk(58.5%, 35.2%, 0%, 7.5%)
CIE-LABlab(62.87, 6.28, -47.26)
CIE-LCHlch(62.87, 47.67, 277.57°)
OKLaboklab(68.16% -0.0275 -0.1338)
OKLCHoklch(68.16% 0.137 258.4)
XYZxyz(31.5632, 31.4325, 83.7444)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6299EC #ECB562
analogous
#62DEEC #6299EC #7062EC
triadic
#6299EC #EC6299 #99EC62
tetradic
#6299EC #EC62DE #ECB562 #62EC70
square
#6299EC #EC62DE #ECB562 #62EC70
split-complementary
#6299EC #EC7062 #DEEC62
monochromatic
#1759BD #2B76E5 #6299EC #99BCF3 #CFE0F9

Accessibility & contrast

On white

2.88
#6299EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#6299EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6299EC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6299EC#FFFFFF#000000##000000
##6299EC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6299ec;
/* rgb */ color: rgb(98, 153, 236);
/* oklch */ color: oklch(68.2% 0.137 258.4);
Tailwind
colors: {
  custom: {
    50: '#99b6f2',
    500: '#6299ec',
    950: '#000000',
  },
}
SCSS
$custom: #6299ec;
$custom-light: #99b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6299ec",
  "rgb": {
    "r": 98,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 216.087,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.13657,
    "h": 258.4
  },
  "luminance": 0.31435
}

Semantic roles & 50–950 ramp

primary
#6299EC
secondary
#ECDABE
accent
#880BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6299EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6299EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva