#6397EB#6397EB

#6397EB is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.137 H 259.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6397EB
RGBrgb(99, 151, 235)
HSLhsl(217, 77%, 65%)
HSVhsv(217, 58%, 92%)
CMYKcmyk(57.9%, 35.7%, 0%, 7.8%)
CIE-LABlab(62.32, 7.32, -47.57)
CIE-LCHlch(62.32, 48.13, 278.75°)
OKLaboklab(67.73% -0.0247 -0.1347)
OKLCHoklch(67.73% 0.137 259.6)
XYZxyz(31.2024, 30.7814, 82.8783)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397EB #EBB763
analogous
#63DBEB #6397EB #7363EB
triadic
#6397EB #EB6397 #97EB63
tetradic
#6397EB #EB63DB #EBB763 #63EB73
square
#6397EB #EB63DB #EBB763 #63EB73
split-complementary
#6397EB #EB7363 #DBEB63
monochromatic
#1857BC #2D73E4 #6397EB #99BBF2 #CFDFF9

Accessibility & contrast

On white

2.93
#6397EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#6397EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397EB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397EB#FFFFFF#000000##000000
##6397EB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEE
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6397eb;
/* rgb */ color: rgb(99, 151, 235);
/* oklch */ color: oklch(67.7% 0.137 259.6);
Tailwind
colors: {
  custom: {
    50: '#99b5f2',
    500: '#6397eb',
    950: '#000000',
  },
}
SCSS
$custom: #6397eb;
$custom-light: #99b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6397eb",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 217.059,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.13695,
    "h": 259.6
  },
  "luminance": 0.30784
}

Semantic roles & 50–950 ramp

primary
#6397EB
secondary
#ECDABE
accent
#8B0CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6397EB

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

Preview Lab → · Contrast checker → · Palette generator →

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