#6398F3#6398F3

#6398F3 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.146 H 260.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6398F3
RGBrgb(99, 152, 243)
HSLhsl(218, 86%, 67%)
HSVhsv(218, 59%, 95%)
CMYKcmyk(59.3%, 37.4%, 0%, 4.7%)
CIE-LABlab(62.99, 9.32, -50.92)
CIE-LCHlch(62.99, 51.76, 280.37°)
OKLaboklab(68.38% -0.0239 -0.1445)
OKLCHoklch(68.38% 0.146 260.6)
XYZxyz(32.5458, 31.5774, 89.1566)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6398F3 #F3BE63
analogous
#63E0F3 #6398F3 #7663F3
triadic
#6398F3 #F36398 #98F363
tetradic
#6398F3 #F363E0 #F3BE63 #63F376
square
#6398F3 #F363E0 #F3BE63 #63F376
split-complementary
#6398F3 #F37663 #E0F363
monochromatic
#1055CC #2A72EF #6398F3 #9CBEF7 #D5E3FC

Accessibility & contrast

On white

2.87
#6398F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#6398F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6398F3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6398F3#FFFFFF#000000##000000
##6398F31.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6398f3;
/* rgb */ color: rgb(99, 152, 243);
/* oklch */ color: oklch(68.4% 0.146 260.6);
Tailwind
colors: {
  custom: {
    50: '#9ab5f7',
    500: '#6398f3',
    950: '#000000',
  },
}
SCSS
$custom: #6398f3;
$custom-light: #9ab5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6398f3",
  "rgb": {
    "r": 99,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 217.917,
    "s": 85.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68375,
    "c": 0.14643,
    "h": 260.6
  },
  "luminance": 0.3158
}

Semantic roles & 50–950 ramp

primary
#6398F3
secondary
#F0DFC2
accent
#9003E2
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6398F3

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

Preview Lab → · Contrast checker → · Palette generator →

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