#6397EA#6397EA

#6397EA is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.7% C 0.136 H 259.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6397EA
RGBrgb(99, 151, 234)
HSLhsl(217, 76%, 65%)
HSVhsv(217, 58%, 92%)
CMYKcmyk(57.7%, 35.5%, 0%, 8.2%)
CIE-LABlab(62.27, 7.00, -47.10)
CIE-LCHlch(62.27, 47.61, 278.46°)
OKLaboklab(67.67% -0.025 -0.1333)
OKLCHoklch(67.67% 0.136 259.4)
XYZxyz(31.0583, 30.7238, 82.1195)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397EA #EAB663
analogous
#63DAEA #6397EA #7263EA
triadic
#6397EA #EA6397 #97EA63
tetradic
#6397EA #EA63DA #EAB663 #63EA72
square
#6397EA #EA63DA #EAB663 #63EA72
split-complementary
#6397EA #EA7263 #DAEA63
monochromatic
#1957BA #2D73E3 #6397EA #99BBF1 #CFDFF9

Accessibility & contrast

On white

2.94
#6397EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#6397EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397EA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397EA#FFFFFF#000000##000000
##6397EA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6397ea;
/* rgb */ color: rgb(99, 151, 234);
/* oklch */ color: oklch(67.7% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#99b5f1',
    500: '#6397ea',
    950: '#000000',
  },
}
SCSS
$custom: #6397ea;
$custom-light: #99b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6397ea",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 216.889,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.13563,
    "h": 259.4
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#6397EA
secondary
#EBDABE
accent
#8A0DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6397EA

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

Preview Lab → · Contrast checker → · Palette generator →

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