#6398EB#6398EB

#6398EB is a light, vivid blue. Relative luminance 0.311; OKLCH L 67.9% C 0.136 H 259.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6398EB
RGBrgb(99, 152, 235)
HSLhsl(217, 77%, 65%)
HSVhsv(217, 58%, 92%)
CMYKcmyk(57.9%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.60, 6.74, -47.14)
CIE-LCHlch(62.60, 47.62, 278.14°)
OKLaboklab(67.94% -0.0258 -0.1334)
OKLCHoklch(67.94% 0.136 259.1)
XYZxyz(31.3640, 31.1046, 82.9321)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398EB #EBB663
analogous
#63DCEB #6398EB #7263EB
triadic
#6398EB #EB6398 #98EB63
tetradic
#6398EB #EB63DC #EBB663 #63EB72
square
#6398EB #EB63DC #EBB663 #63EB72
split-complementary
#6398EB #EB7263 #DCEB63
monochromatic
#1858BC #2D74E4 #6398EB #99BCF2 #CFE0F9

Accessibility & contrast

On white

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

On black

7.22
#6398EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398EB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398EB#FFFFFF#000000##000000
##6398EB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6398eb;
/* rgb */ color: rgb(99, 152, 235);
/* oklch */ color: oklch(67.9% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#99b5f2',
    500: '#6398eb',
    950: '#000000',
  },
}
SCSS
$custom: #6398eb;
$custom-light: #99b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6398eb",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 216.618,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.1359,
    "h": 259.1
  },
  "luminance": 0.31107
}

Semantic roles & 50–950 ramp

primary
#6398EB
secondary
#ECDABE
accent
#890CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #6398EB

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

Preview Lab → · Contrast checker → · Palette generator →

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