#5F98E5#5F98E5

#5F98E5 is a light, vivid cyan. Relative luminance 0.305; OKLCH L 67.4% C 0.130 H 256.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5F98E5
RGBrgb(95, 152, 229)
HSLhsl(214, 72%, 64%)
HSVhsv(214, 59%, 90%)
CMYKcmyk(58.5%, 33.6%, 0%, 10.2%)
CIE-LABlab(62.12, 4.03, -44.59)
CIE-LCHlch(62.12, 44.77, 275.16°)
OKLaboklab(67.42% -0.0307 -0.126)
OKLCHoklch(67.42% 0.13 256.3)
XYZxyz(30.0854, 30.5439, 78.4237)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98E5 #E5AC5F
analogous
#5FDBE5 #5F98E5 #695FE5
triadic
#5F98E5 #E55F98 #98E55F
tetradic
#5F98E5 #E55FDB #E5AC5F #5FE569
square
#5F98E5 #E55FDB #E5AC5F #5FE569
split-complementary
#5F98E5 #E5695F #DBE55F
monochromatic
#1C5AAD #2A76DC #5F98E5 #94BAEE #C8DCF6

Accessibility & contrast

On white

2.95
#5F98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5F98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98E5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98E5#FFFFFF#000000##000000
##5F98E51.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE8
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f98e5;
/* rgb */ color: rgb(95, 152, 229);
/* oklch */ color: oklch(67.4% 0.130 256.3);
Tailwind
colors: {
  custom: {
    50: '#96b6ed',
    500: '#5f98e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f98e5;
$custom-light: #96b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98e5",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 214.478,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.12973,
    "h": 256.3
  },
  "luminance": 0.30547
}

Semantic roles & 50–950 ramp

primary
#5F98E5
secondary
#E8D3B8
accent
#8111D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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