#6299F2#6299F2

#6299F2 is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.5% C 0.144 H 259.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6299F2
RGBrgb(98, 153, 242)
HSLhsl(217, 85%, 67%)
HSVhsv(217, 60%, 95%)
CMYKcmyk(59.5%, 36.8%, 0%, 5.1%)
CIE-LABlab(63.17, 8.22, -50.09)
CIE-LCHlch(63.17, 50.76, 279.32°)
OKLaboklab(68.48% -0.0261 -0.1421)
OKLCHoklch(68.48% 0.144 259.6)
XYZxyz(32.4496, 31.7871, 88.4127)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6299F2 #F2BB62
analogous
#62E1F2 #6299F2 #7362F2
triadic
#6299F2 #F26299 #99F262
tetradic
#6299F2 #F262E1 #F2BB62 #62F273
square
#6299F2 #F262E1 #F2BB62 #62F273
split-complementary
#6299F2 #F27362 #E1F262
monochromatic
#1157C9 #2974ED #6299F2 #9BBEF7 #D3E2FB

Accessibility & contrast

On white

2.85
#6299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#6299F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6299F2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6299F2#FFFFFF#000000##000000
##6299F21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6299f2;
/* rgb */ color: rgb(98, 153, 242);
/* oklch */ color: oklch(68.5% 0.144 259.6);
Tailwind
colors: {
  custom: {
    50: '#9ab6f7',
    500: '#6299f2',
    950: '#000000',
  },
}
SCSS
$custom: #6299f2;
$custom-light: #9ab6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6299f2",
  "rgb": {
    "r": 98,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 217.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68481,
    "c": 0.14443,
    "h": 259.6
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#6299F2
secondary
#EFDDC1
accent
#8D04E1
background
#FAFBFF
surface
#F3F6FE
border
#CDD0D6
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6299F2

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

Preview Lab → · Contrast checker → · Palette generator →

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