#6398F8#6398F8

#6398F8 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.7% C 0.153 H 261.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6398F8
RGBrgb(99, 152, 248)
HSLhsl(219, 91%, 68%)
HSVhsv(219, 60%, 97%)
CMYKcmyk(60.1%, 38.7%, 0%, 2.7%)
CIE-LABlab(63.25, 10.94, -53.26)
CIE-LCHlch(63.25, 54.37, 281.61°)
OKLaboklab(68.66% -0.0229 -0.1513)
OKLCHoklch(68.66% 0.153 261.4)
XYZxyz(33.3112, 31.8835, 93.1874)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398F8 #F8C363
analogous
#63E2F8 #6398F8 #7863F8
triadic
#6398F8 #F86398 #98F863
tetradic
#6398F8 #F863E2 #F8C363 #63F878
square
#6398F8 #F863E2 #F8C363 #63F878
split-complementary
#6398F8 #F87863 #E2F863
monochromatic
#0A53D7 #2871F5 #6398F8 #9EBFFB #D8E5FD

Accessibility & contrast

On white

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

On black

7.38
#6398F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398F8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398F8#FFFFFF#000000##000000
##6398F81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6398f8;
/* rgb */ color: rgb(99, 152, 248);
/* oklch */ color: oklch(68.7% 0.153 261.4);
Tailwind
colors: {
  custom: {
    50: '#9bb5fb',
    500: '#6398f8',
    950: '#000000',
  },
}
SCSS
$custom: #6398f8;
$custom-light: #9bb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6398f8",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 218.658,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68655,
    "c": 0.15303,
    "h": 261.4
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#6398F8
secondary
#F2E2C5
accent
#9400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6398F8

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

Preview Lab → · Contrast checker → · Palette generator →

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