#6298F4#6298F4

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

Color values

HEX#6298F4
RGBrgb(98, 152, 244)
HSLhsl(218, 87%, 67%)
HSVhsv(218, 60%, 96%)
CMYKcmyk(59.8%, 37.7%, 0%, 4.3%)
CIE-LABlab(63.00, 9.46, -51.46)
CIE-LCHlch(63.00, 52.32, 280.41°)
OKLaboklab(68.38% -0.0246 -0.1461)
OKLCHoklch(68.38% 0.148 260.4)
XYZxyz(32.5887, 31.5819, 89.9490)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6298F4 #F4BE62
analogous
#62E1F4 #6298F4 #7562F4
triadic
#6298F4 #F46298 #98F462
tetradic
#6298F4 #F462E1 #F4BE62 #62F475
square
#6298F4 #F462E1 #F4BE62 #62F475
split-complementary
#6298F4 #F47562 #E1F462
monochromatic
#0E55CD #2972F0 #6298F4 #9BBEF8 #D4E3FC

Accessibility & contrast

On white

2.87
#6298F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#6298F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6298F4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6298F4#FFFFFF#000000##000000
##6298F41.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)
#71A0F8
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6298f4;
/* rgb */ color: rgb(98, 152, 244);
/* oklch */ color: oklch(68.4% 0.148 260.4);
Tailwind
colors: {
  custom: {
    50: '#9ab5f8',
    500: '#6298f4',
    950: '#000000',
  },
}
SCSS
$custom: #6298f4;
$custom-light: #9ab5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6298f4",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 217.808,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.14812,
    "h": 260.4
  },
  "luminance": 0.31585
}

Semantic roles & 50–950 ramp

primary
#6298F4
secondary
#F0DFC2
accent
#9002E3
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6298F4

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

Preview Lab → · Contrast checker → · Palette generator →

#6298F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva