#6198EF#6198EF

#6198EF is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.142 H 259.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6198EF
RGBrgb(97, 152, 239)
HSLhsl(217, 82%, 66%)
HSVhsv(217, 59%, 94%)
CMYKcmyk(59.4%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.70, 7.64, -49.19)
CIE-LCHlch(62.70, 49.78, 278.83°)
OKLaboklab(68.06% -0.0265 -0.1394)
OKLCHoklch(68.06% 0.142 259.2)
XYZxyz(31.7325, 31.2271, 85.9998)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6198EF #EFB861
analogous
#61DFEF #6198EF #7161EF
triadic
#6198EF #EF6198 #98EF61
tetradic
#6198EF #EF61DF #EFB861 #61EF71
square
#6198EF #EF61DF #EFB861 #61EF71
split-complementary
#6198EF #EF7161 #DFEF61
monochromatic
#1457C2 #2974E9 #6198EF #99BCF5 #D0E0FA

Accessibility & contrast

On white

2.90
#6198EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#6198EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6198EF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6198EF#FFFFFF#000000##000000
##6198EF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#6092ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6198ef;
/* rgb */ color: rgb(97, 152, 239);
/* oklch */ color: oklch(68.1% 0.142 259.2);
Tailwind
colors: {
  custom: {
    50: '#99b5f4',
    500: '#6198ef',
    950: '#000000',
  },
}
SCSS
$custom: #6198ef;
$custom-light: #99b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6198ef",
  "rgb": {
    "r": 97,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 216.761,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68056,
    "c": 0.14195,
    "h": 259.2
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#6198EF
secondary
#EDDBBE
accent
#8B08DE
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6198EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6198EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva