#6397EF#6397EF

#6397EF is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.142 H 260.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6397EF
RGBrgb(99, 151, 239)
HSLhsl(218, 81%, 66%)
HSVhsv(218, 59%, 94%)
CMYKcmyk(58.6%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.52, 8.61, -49.46)
CIE-LCHlch(62.52, 50.21, 279.88°)
OKLaboklab(67.94% -0.0238 -0.1402)
OKLCHoklch(67.94% 0.142 260.4)
XYZxyz(31.7868, 31.0151, 85.9560)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397EF #EFBB63
analogous
#63DDEF #6397EF #7563EF
triadic
#6397EF #EF6397 #97EF63
tetradic
#6397EF #EF63DD #EFBB63 #63EF75
square
#6397EF #EF63DD #EFBB63 #63EF75
split-complementary
#6397EF #EF7563 #DDEF63
monochromatic
#1455C4 #2B72E9 #6397EF #9BBCF5 #D2E1FA

Accessibility & contrast

On white

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

On black

7.20
#6397EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397EF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397EF#FFFFFF#000000##000000
##6397EF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6397ef;
/* rgb */ color: rgb(99, 151, 239);
/* oklch */ color: oklch(67.9% 0.142 260.4);
Tailwind
colors: {
  custom: {
    50: '#9ab5f4',
    500: '#6397ef',
    950: '#000000',
  },
}
SCSS
$custom: #6397ef;
$custom-light: #9ab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6397ef",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 217.714,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67943,
    "c": 0.14223,
    "h": 260.4
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#6397EF
secondary
#EEDDC0
accent
#8E08DE
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6397EF

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

Preview Lab → · Contrast checker → · Palette generator →

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