#6A98EC#6A98EC

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

Color values

HEX#6A98EC
RGBrgb(106, 152, 236)
HSLhsl(219, 77%, 67%)
HSVhsv(219, 55%, 93%)
CMYKcmyk(55.1%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.99, 8.47, -47.05)
CIE-LCHlch(62.99, 47.80, 280.21°)
OKLaboklab(68.35% -0.0194 -0.133)
OKLCHoklch(68.35% 0.134 261.7)
XYZxyz(32.3072, 31.5742, 83.7326)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A98EC #ECBE6A
analogous
#6AD9EC #6A98EC #7D6AEC
triadic
#6A98EC #EC6A98 #98EC6A
tetradic
#6A98EC #EC6AD9 #ECBE6A #6AEC7D
square
#6A98EC #EC6AD9 #ECBE6A #6AEC7D
split-complementary
#6A98EC #EC7D6A #D9EC6A
monochromatic
#1955C3 #3472E5 #6A98EC #A0BEF3 #D7E3FA

Accessibility & contrast

On white

2.87
#6A98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#6A98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6A98EC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A98EC#FFFFFF#000000##000000
##6A98EC1.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)
#769FEF
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#14ABB7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6a98ec;
/* rgb */ color: rgb(106, 152, 236);
/* oklch */ color: oklch(68.4% 0.134 261.7);
Tailwind
colors: {
  custom: {
    50: '#9db6f2',
    500: '#6a98ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a98ec;
$custom-light: #9db6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a98ec",
  "rgb": {
    "r": 106,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 218.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68352,
    "c": 0.13445,
    "h": 261.7
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#6A98EC
secondary
#EEDFC4
accent
#910CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6A98EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A98EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva