#6398F4#6398F4

#6398F4 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.148 H 260.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6398F4
RGBrgb(99, 152, 244)
HSLhsl(218, 87%, 67%)
HSVhsv(218, 59%, 96%)
CMYKcmyk(59.4%, 37.7%, 0%, 4.3%)
CIE-LABlab(63.04, 9.64, -51.38)
CIE-LCHlch(63.04, 52.28, 280.63°)
OKLaboklab(68.43% -0.0237 -0.1458)
OKLCHoklch(68.43% 0.148 260.8)
XYZxyz(32.6973, 31.6379, 89.9540)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398F4 #F4BF63
analogous
#63E0F4 #6398F4 #7763F4
triadic
#6398F4 #F46398 #98F463
tetradic
#6398F4 #F463E0 #F4BF63 #63F477
square
#6398F4 #F463E0 #F4BF63 #63F477
split-complementary
#6398F4 #F47763 #E0F463
monochromatic
#0F55CE #2A72F0 #6398F4 #9CBEF8 #D5E3FC

Accessibility & contrast

On white

2.87
#6398F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#6398F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398F4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398F4#FFFFFF#000000##000000
##6398F41.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F8
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6398f4;
/* rgb */ color: rgb(99, 152, 244);
/* oklch */ color: oklch(68.4% 0.148 260.8);
Tailwind
colors: {
  custom: {
    50: '#9ab5f8',
    500: '#6398f4',
    950: '#000000',
  },
}
SCSS
$custom: #6398f4;
$custom-light: #9ab5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6398f4",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 218.069,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.14775,
    "h": 260.8
  },
  "luminance": 0.31641
}

Semantic roles & 50–950 ramp

primary
#6398F4
secondary
#F0E0C3
accent
#9102E3
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6398F4

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

Preview Lab → · Contrast checker → · Palette generator →

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