#6397ED#6397ED

#6397ED is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.140 H 260.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6397ED
RGBrgb(99, 151, 237)
HSLhsl(217, 79%, 66%)
HSVhsv(217, 58%, 93%)
CMYKcmyk(58.2%, 36.3%, 0%, 7.1%)
CIE-LABlab(62.42, 7.97, -48.52)
CIE-LCHlch(62.42, 49.17, 279.32°)
OKLaboklab(67.83% -0.0243 -0.1375)
OKLCHoklch(67.83% 0.14 260)
XYZxyz(31.4929, 30.8976, 84.4086)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397ED #EDB963
analogous
#63DCED #6397ED #7463ED
triadic
#6397ED #ED6397 #97ED63
tetradic
#6397ED #ED63DC #EDB963 #63ED74
square
#6397ED #ED63DC #EDB963 #63ED74
split-complementary
#6397ED #ED7463 #DCED63
monochromatic
#1656C0 #2C72E7 #6397ED #9ABCF3 #D1E0FA

Accessibility & contrast

On white

2.92
#6397ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#6397ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397ED
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397ED#FFFFFF#000000##000000
##6397ED1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6397ed;
/* rgb */ color: rgb(99, 151, 237);
/* oklch */ color: oklch(67.8% 0.140 260.0);
Tailwind
colors: {
  custom: {
    50: '#99b5f3',
    500: '#6397ed',
    950: '#000000',
  },
}
SCSS
$custom: #6397ed;
$custom-light: #99b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6397ed",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 217.391,
    "s": 79.31,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.13959,
    "h": 260
  },
  "luminance": 0.309
}

Semantic roles & 50–950 ramp

primary
#6397ED
secondary
#EDDCBF
accent
#8D0ADC
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6397ED

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

Preview Lab → · Contrast checker → · Palette generator →

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