#5C98F3#5C98F3

#5C98F3 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.149 H 258.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C98F3
RGBrgb(92, 152, 243)
HSLhsl(216, 86%, 66%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(62.1%, 37.4%, 0%, 4.7%)
CIE-LABlab(62.68, 8.04, -51.44)
CIE-LCHlch(62.68, 52.06, 278.88°)
OKLaboklab(68.04% -0.0297 -0.1461)
OKLCHoklch(68.04% 0.149 258.5)
XYZxyz(31.8138, 31.1999, 89.1223)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98F3 #F3B75C
analogous
#5CE3F3 #5C98F3 #6B5CF3
triadic
#5C98F3 #F35C98 #98F35C
tetradic
#5C98F3 #F35CE3 #F3B75C #5CF36B
square
#5C98F3 #F35CE3 #F3B75C #5CF36B
split-complementary
#5C98F3 #F36B5C #E3F35C
monochromatic
#0F57C6 #2374EF #5C98F3 #95BCF7 #CEE0FB

Accessibility & contrast

On white

2.90
#5C98F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5C98F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98F3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98F3#FFFFFF#000000##000000
##5C98F31.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5c98f3;
/* rgb */ color: rgb(92, 152, 243);
/* oklch */ color: oklch(68.0% 0.149 258.5);
Tailwind
colors: {
  custom: {
    50: '#97b5f7',
    500: '#5c98f3',
    950: '#000000',
  },
}
SCSS
$custom: #5c98f3;
$custom-light: #97b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98f3",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 216.159,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68043,
    "c": 0.14909,
    "h": 258.5
  },
  "luminance": 0.31203
}

Semantic roles & 50–950 ramp

primary
#5C98F3
secondary
#EFDBBC
accent
#8A03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C98F3

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

Preview Lab → · Contrast checker → · Palette generator →

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