#6397F8#6397F8

#6397F8 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.154 H 261.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6397F8
RGBrgb(99, 151, 248)
HSLhsl(219, 91%, 68%)
HSVhsv(219, 60%, 97%)
CMYKcmyk(60.1%, 39.1%, 0%, 2.7%)
CIE-LABlab(62.98, 11.53, -53.68)
CIE-LCHlch(62.98, 54.91, 282.12°)
OKLaboklab(68.45% -0.0218 -0.1526)
OKLCHoklch(68.45% 0.154 261.8)
XYZxyz(33.1496, 31.5603, 93.1335)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397F8 #F8C463
analogous
#63E2F8 #6397F8 #7963F8
triadic
#6397F8 #F86397 #97F863
tetradic
#6397F8 #F863E2 #F8C463 #63F879
square
#6397F8 #F863E2 #F8C463 #63F879
split-complementary
#6397F8 #F87963 #E2F863
monochromatic
#0A51D7 #2870F5 #6397F8 #9EBEFB #D8E5FD

Accessibility & contrast

On white

2.87
#6397F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6397F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397F8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397F8#FFFFFF#000000##000000
##6397F81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6397f8;
/* rgb */ color: rgb(99, 151, 248);
/* oklch */ color: oklch(68.4% 0.154 261.8);
Tailwind
colors: {
  custom: {
    50: '#9bb5fb',
    500: '#6397f8',
    950: '#000000',
  },
}
SCSS
$custom: #6397f8;
$custom-light: #9bb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6397f8",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 219.06,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68447,
    "c": 0.15413,
    "h": 261.8
  },
  "luminance": 0.31563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6397F8

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

Preview Lab → · Contrast checker → · Palette generator →

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