#6398FA#6398FA

#6398FA is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.8% C 0.156 H 261.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6398FA
RGBrgb(99, 152, 250)
HSLhsl(219, 94%, 68%)
HSVhsv(219, 60%, 98%)
CMYKcmyk(60.4%, 39.2%, 0%, 2%)
CIE-LABlab(63.35, 11.59, -54.19)
CIE-LCHlch(63.35, 55.41, 282.08°)
OKLaboklab(68.77% -0.0224 -0.154)
OKLCHoklch(68.77% 0.156 261.7)
XYZxyz(33.6231, 32.0083, 94.8303)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398FA #FAC563
analogous
#63E4FA #6398FA #7963FA
triadic
#6398FA #FA6398 #98FA63
tetradic
#6398FA #FA63E4 #FAC563 #63FA79
square
#6398FA #FA63E4 #FAC563 #63FA79
split-complementary
#6398FA #FA7963 #E4FA63
monochromatic
#0752DC #2871F8 #6398FA #9EBFFC #DAE6FE

Accessibility & contrast

On white

2.84
#6398FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#6398FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398FA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398FA#FFFFFF#000000##000000
##6398FA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6398fa;
/* rgb */ color: rgb(99, 152, 250);
/* oklch */ color: oklch(68.8% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#9bb5fc',
    500: '#6398fa',
    950: '#000000',
  },
}
SCSS
$custom: #6398fa;
$custom-light: #9bb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6398fa",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 218.94,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.15567,
    "h": 261.7
  },
  "luminance": 0.32011
}

Semantic roles & 50–950 ramp

primary
#6398FA
secondary
#F3E3C6
accent
#9500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6398FA

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

Preview Lab → · Contrast checker → · Palette generator →

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