#6398F7#6398F7

#6398F7 is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.152 H 261.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6398F7
RGBrgb(99, 152, 247)
HSLhsl(219, 90%, 68%)
HSVhsv(219, 60%, 97%)
CMYKcmyk(59.9%, 38.5%, 0%, 3.1%)
CIE-LABlab(63.20, 10.62, -52.79)
CIE-LCHlch(63.20, 53.85, 281.37°)
OKLaboklab(68.6% -0.0231 -0.1499)
OKLCHoklch(68.6% 0.152 261.2)
XYZxyz(33.1565, 31.8216, 92.3725)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398F7 #F7C263
analogous
#63E2F7 #6398F7 #7863F7
triadic
#6398F7 #F76398 #98F763
tetradic
#6398F7 #F763E2 #F7C263 #63F778
square
#6398F7 #F763E2 #F7C263 #63F778
split-complementary
#6398F7 #F77863 #E2F763
monochromatic
#0B53D5 #2972F4 #6398F7 #9DBEFA #D7E5FD

Accessibility & contrast

On white

2.85
#6398F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#6398F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398F7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398F7#FFFFFF#000000##000000
##6398F71.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)
#6FA0FB
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6398f7;
/* rgb */ color: rgb(99, 152, 247);
/* oklch */ color: oklch(68.6% 0.152 261.2);
Tailwind
colors: {
  custom: {
    50: '#9bb5fa',
    500: '#6398f7',
    950: '#000000',
  },
}
SCSS
$custom: #6398f7;
$custom-light: #9bb5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6398f7",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 218.514,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68599,
    "c": 0.15171,
    "h": 261.2
  },
  "luminance": 0.31825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6398F7

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

Preview Lab → · Contrast checker → · Palette generator →

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