#6398EA#6398EA

#6398EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.135 H 258.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6398EA
RGBrgb(99, 152, 234)
HSLhsl(216, 76%, 65%)
HSVhsv(216, 58%, 92%)
CMYKcmyk(57.7%, 35%, 0%, 8.2%)
CIE-LABlab(62.55, 6.42, -46.66)
CIE-LCHlch(62.55, 47.10, 277.83°)
OKLaboklab(67.88% -0.026 -0.132)
OKLCHoklch(67.88% 0.135 258.8)
XYZxyz(31.2199, 31.0470, 82.1734)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398EA #EAB563
analogous
#63DCEA #6398EA #7163EA
triadic
#6398EA #EA6398 #98EA63
tetradic
#6398EA #EA63DC #EAB563 #63EA71
square
#6398EA #EA63DC #EAB563 #63EA71
split-complementary
#6398EA #EA7163 #DCEA63
monochromatic
#1958BA #2D74E3 #6398EA #99BCF1 #CFDFF9

Accessibility & contrast

On white

2.91
#6398EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#6398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398EA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398EA#FFFFFF#000000##000000
##6398EA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6398ea;
/* rgb */ color: rgb(99, 152, 234);
/* oklch */ color: oklch(67.9% 0.135 258.8);
Tailwind
colors: {
  custom: {
    50: '#99b5f1',
    500: '#6398ea',
    950: '#000000',
  },
}
SCSS
$custom: #6398ea;
$custom-light: #99b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6398ea",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 216.444,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67884,
    "c": 0.13459,
    "h": 258.8
  },
  "luminance": 0.3105
}

Semantic roles & 50–950 ramp

primary
#6398EA
secondary
#EBD9BE
accent
#890DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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