#5898F2#5898F2

#5898F2 is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.149 H 257.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5898F2
RGBrgb(88, 152, 242)
HSLhsl(215, 86%, 65%)
HSVhsv(215, 64%, 95%)
CMYKcmyk(63.6%, 37.2%, 0%, 5.1%)
CIE-LABlab(62.46, 7.01, -51.25)
CIE-LCHlch(62.46, 51.72, 277.79°)
OKLaboklab(67.81% -0.0331 -0.1456)
OKLCHoklch(67.81% 0.149 257.2)
XYZxyz(31.2740, 30.9390, 88.3109)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898F2 #F2B258
analogous
#58E5F2 #5898F2 #6558F2
triadic
#5898F2 #F25898 #98F258
tetradic
#5898F2 #F258E5 #F2B258 #58F265
square
#5898F2 #F258E5 #F2B258 #58F265
split-complementary
#5898F2 #F26558 #E5F258
monochromatic
#0F59C1 #1F75EE #5898F2 #91BBF6 #CADEFB

Accessibility & contrast

On white

2.92
#5898F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#5898F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898F2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898F2#FFFFFF#000000##000000
##5898F21.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#00ADB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5898f2;
/* rgb */ color: rgb(88, 152, 242);
/* oklch */ color: oklch(67.8% 0.149 257.2);
Tailwind
colors: {
  custom: {
    50: '#95b5f7',
    500: '#5898f2',
    950: '#000000',
  },
}
SCSS
$custom: #5898f2;
$custom-light: #95b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5898f2",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 215.065,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67809,
    "c": 0.14931,
    "h": 257.2
  },
  "luminance": 0.30942
}

Semantic roles & 50–950 ramp

primary
#5898F2
secondary
#EDD7B8
accent
#8603E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5898F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5898F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva