#5C98F2#5C98F2

#5C98F2 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.148 H 258.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5C98F2
RGBrgb(92, 152, 242)
HSLhsl(216, 85%, 65%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(62%, 37.2%, 0%, 5.1%)
CIE-LABlab(62.63, 7.71, -50.97)
CIE-LCHlch(62.63, 51.55, 278.60°)
OKLaboklab(67.99% -0.0299 -0.1447)
OKLCHoklch(67.99% 0.148 258.3)
XYZxyz(31.6632, 31.1396, 88.3291)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98F2 #F2B65C
analogous
#5CE3F2 #5C98F2 #6B5CF2
triadic
#5C98F2 #F25C98 #98F25C
tetradic
#5C98F2 #F25CE3 #F2B65C #5CF26B
square
#5C98F2 #F25CE3 #F2B65C #5CF26B
split-complementary
#5C98F2 #F26B5C #E3F25C
monochromatic
#1058C4 #2374ED #5C98F2 #95BCF7 #CDE0FB

Accessibility & contrast

On white

2.91
#5C98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5C98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98F2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98F2#FFFFFF#000000##000000
##5C98F21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c98f2;
/* rgb */ color: rgb(92, 152, 242);
/* oklch */ color: oklch(68.0% 0.148 258.3);
Tailwind
colors: {
  custom: {
    50: '#97b5f7',
    500: '#5c98f2',
    950: '#000000',
  },
}
SCSS
$custom: #5c98f2;
$custom-light: #97b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98f2",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 216,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67987,
    "c": 0.14779,
    "h": 258.3
  },
  "luminance": 0.31143
}

Semantic roles & 50–950 ramp

primary
#5C98F2
secondary
#EEDABC
accent
#8904E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C98F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5C98F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva