#6398F6#6398F6

#6398F6 is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.5% C 0.150 H 261.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6398F6
RGBrgb(99, 152, 246)
HSLhsl(218, 89%, 68%)
HSVhsv(218, 60%, 96%)
CMYKcmyk(59.8%, 38.2%, 0%, 3.5%)
CIE-LABlab(63.14, 10.29, -52.32)
CIE-LCHlch(63.14, 53.32, 281.13°)
OKLaboklab(68.54% -0.0233 -0.1486)
OKLCHoklch(68.54% 0.15 261.1)
XYZxyz(33.0026, 31.7600, 91.5620)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398F6 #F6C163
analogous
#63E2F6 #6398F6 #7763F6
triadic
#6398F6 #F66398 #98F663
tetradic
#6398F6 #F663E2 #F6C163 #63F677
square
#6398F6 #F663E2 #F6C163 #63F677
split-complementary
#6398F6 #F67763 #E2F663
monochromatic
#0C54D2 #2972F3 #6398F6 #9DBEF9 #D7E4FD

Accessibility & contrast

On white

2.86
#6398F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#6398F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398F6
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398F6#FFFFFF#000000##000000
##6398F61.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0FA
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6398f6;
/* rgb */ color: rgb(99, 152, 246);
/* oklch */ color: oklch(68.5% 0.150 261.1);
Tailwind
colors: {
  custom: {
    50: '#9bb5f9',
    500: '#6398f6',
    950: '#000000',
  },
}
SCSS
$custom: #6398f6;
$custom-light: #9bb5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6398f6",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 218.367,
    "s": 89.091,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68542,
    "c": 0.15039,
    "h": 261.1
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

primary
#6398F6
secondary
#F1E1C4
accent
#9300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6398F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6398F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva