#6397F2#6397F2

#6397F2 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.146 H 260.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6397F2
RGBrgb(99, 151, 242)
HSLhsl(218, 85%, 67%)
HSVhsv(218, 59%, 95%)
CMYKcmyk(59.1%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.67, 9.58, -50.87)
CIE-LCHlch(62.67, 51.77, 280.67°)
OKLaboklab(68.11% -0.0231 -0.1443)
OKLCHoklch(68.11% 0.146 260.9)
XYZxyz(32.2336, 31.1939, 88.3096)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6397F2 #F2BE63
analogous
#63DEF2 #6397F2 #7763F2
triadic
#6397F2 #F26397 #97F263
tetradic
#6397F2 #F263DE #F2BE63 #63F277
square
#6397F2 #F263DE #F2BE63 #63F277
split-complementary
#6397F2 #F27763 #DEF263
monochromatic
#1154CA #2B71ED #6397F2 #9BBDF7 #D4E2FB

Accessibility & contrast

On white

2.90
#6397F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#6397F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6397F2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6397F2#FFFFFF#000000##000000
##6397F21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6397f2;
/* rgb */ color: rgb(99, 151, 242);
/* oklch */ color: oklch(68.1% 0.146 260.9);
Tailwind
colors: {
  custom: {
    50: '#9ab5f7',
    500: '#6397f2',
    950: '#000000',
  },
}
SCSS
$custom: #6397f2;
$custom-light: #9ab5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6397f2",
  "rgb": {
    "r": 99,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 218.182,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.14619,
    "h": 260.9
  },
  "luminance": 0.31197
}

Semantic roles & 50–950 ramp

primary
#6397F2
secondary
#EFDFC2
accent
#9104E1
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6397F2

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

Preview Lab → · Contrast checker → · Palette generator →

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