#6397EC#6397EC

#6397EC is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.8% C 0.138 H 259.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6397EC
RGBrgb(99, 151, 236)
HSLhsl(217, 78%, 66%)
HSVhsv(217, 58%, 93%)
CMYKcmyk(58.1%, 36%, 0%, 7.5%)
CIE-LABlab(62.37, 7.64, -48.04)
CIE-LCHlch(62.37, 48.65, 279.04°)
OKLaboklab(67.78% -0.0245 -0.1361)
OKLCHoklch(67.78% 0.138 259.8)
XYZxyz(31.3472, 30.8393, 83.6413)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397EC #ECB863
analogous
#63DCEC #6397EC #7363EC
triadic
#6397EC #EC6397 #97EC63
tetradic
#6397EC #EC63DC #ECB863 #63EC73
square
#6397EC #EC63DC #ECB863 #63EC73
split-complementary
#6397EC #EC7363 #DCEC63
monochromatic
#1756BE #2C73E5 #6397EC #9ABBF3 #D0E0F9

Accessibility & contrast

On white

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

On black

7.17
#6397EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397EC#FFFFFF#000000##000000
##6397EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EEF
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6397ec;
/* rgb */ color: rgb(99, 151, 236);
/* oklch */ color: oklch(67.8% 0.138 259.8);
Tailwind
colors: {
  custom: {
    50: '#99b5f2',
    500: '#6397ec',
    950: '#000000',
  },
}
SCSS
$custom: #6397ec;
$custom-light: #99b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6397ec",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 217.226,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67779,
    "c": 0.13827,
    "h": 259.8
  },
  "luminance": 0.30842
}

Semantic roles & 50–950 ramp

primary
#6397EC
secondary
#ECDBBF
accent
#8C0BDB
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6397EC

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

Preview Lab → · Contrast checker → · Palette generator →

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