#6397F4#6397F4

#6397F4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.2% C 0.149 H 261.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6397F4
RGBrgb(99, 151, 244)
HSLhsl(218, 87%, 67%)
HSVhsv(218, 59%, 96%)
CMYKcmyk(59.4%, 38.1%, 0%, 4.3%)
CIE-LABlab(62.77, 10.23, -51.81)
CIE-LCHlch(62.77, 52.81, 281.17°)
OKLaboklab(68.22% -0.0227 -0.1471)
OKLCHoklch(68.22% 0.149 261.2)
XYZxyz(32.5356, 31.3147, 89.9002)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397F4 #F4C063
analogous
#63DFF4 #6397F4 #7863F4
triadic
#6397F4 #F46397 #97F463
tetradic
#6397F4 #F463DF #F4C063 #63F478
square
#6397F4 #F463DF #F4C063 #63F478
split-complementary
#6397F4 #F47863 #DFF463
monochromatic
#0F53CE #2A71F0 #6397F4 #9CBDF8 #D5E3FC

Accessibility & contrast

On white

2.89
#6397F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#6397F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397F4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397F4#FFFFFF#000000##000000
##6397F41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6397f4;
/* rgb */ color: rgb(99, 151, 244);
/* oklch */ color: oklch(68.2% 0.149 261.2);
Tailwind
colors: {
  custom: {
    50: '#9ab5f8',
    500: '#6397f4',
    950: '#000000',
  },
}
SCSS
$custom: #6397f4;
$custom-light: #9ab5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6397f4",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 218.483,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.14884,
    "h": 261.2
  },
  "luminance": 0.31318
}

Semantic roles & 50–950 ramp

primary
#6397F4
secondary
#F0E0C3
accent
#9302E3
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6397F4

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

Preview Lab → · Contrast checker → · Palette generator →

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