#6398FC#6398FC

#6398FC is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.158 H 262.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6398FC
RGBrgb(99, 152, 252)
HSLhsl(219, 96%, 69%)
HSVhsv(219, 61%, 99%)
CMYKcmyk(60.7%, 39.7%, 0%, 1.2%)
CIE-LABlab(63.45, 12.25, -55.12)
CIE-LCHlch(63.45, 56.46, 282.53°)
OKLaboklab(68.88% -0.022 -0.1568)
OKLCHoklch(68.88% 0.158 262)
XYZxyz(33.9384, 32.1344, 96.4906)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398FC #FCC763
analogous
#63E4FC #6398FC #7B63FC
triadic
#6398FC #FC6398 #98FC63
tetradic
#6398FC #FC63E4 #FCC763 #63FC7B
square
#6398FC #FC63E4 #FCC763 #63FC7B
split-complementary
#6398FC #FC7B63 #E4FC63
monochromatic
#0451E0 #2770FB #6398FC #9FC0FD #DBE7FE

Accessibility & contrast

On white

2.83
#6398FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#6398FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398FC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398FC#FFFFFF#000000##000000
##6398FC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6398fc;
/* rgb */ color: rgb(99, 152, 252);
/* oklch */ color: oklch(68.9% 0.158 262.0);
Tailwind
colors: {
  custom: {
    50: '#9bb5fe',
    500: '#6398fc',
    950: '#000000',
  },
}
SCSS
$custom: #6398fc;
$custom-light: #9bb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6398fc",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 219.216,
    "s": 96.226,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.1583,
    "h": 262
  },
  "luminance": 0.32137
}

Semantic roles & 50–950 ramp

primary
#6398FC
secondary
#F4E4C7
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6398FC

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

Preview Lab → · Contrast checker → · Palette generator →

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