#5F98DB#5F98DB

#5F98DB is a light, moderate cyan. Relative luminance 0.300; OKLCH L 66.9% C 0.117 H 253.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5F98DB
RGBrgb(95, 152, 219)
HSLhsl(212, 63%, 62%)
HSVhsv(212, 57%, 86%)
CMYKcmyk(56.6%, 30.6%, 0%, 14.1%)
CIE-LABlab(61.66, 0.83, -39.77)
CIE-LCHlch(61.66, 39.78, 271.20°)
OKLaboklab(66.91% -0.0334 -0.112)
OKLCHoklch(66.91% 0.117 253.4)
XYZxyz(28.7292, 30.0014, 71.2810)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98DB #DBA25F
analogous
#5FD6DB #5F98DB #645FDB
triadic
#5F98DB #DB5F98 #98DB5F
tetradic
#5F98DB #DB5FD6 #DBA25F #5FDB64
square
#5F98DB #DB5FD6 #DBA25F #5FDB64
split-complementary
#5F98DB #DB645F #D6DB5F
monochromatic
#235B9C #2E78CE #5F98DB #91B8E6 #C3D8F1

Accessibility & contrast

On white

3.00
#5F98DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5F98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98DB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98DB#FFFFFF#000000##000000
##5F98DB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDE
Deuteranopia (green-blind)
#6C90DA
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f98db;
/* rgb */ color: rgb(95, 152, 219);
/* oklch */ color: oklch(66.9% 0.117 253.4);
Tailwind
colors: {
  custom: {
    50: '#95b6e6',
    500: '#5f98db',
    950: '#000000',
  },
}
SCSS
$custom: #5f98db;
$custom-light: #95b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98db",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 212.419,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66905,
    "c": 0.1169,
    "h": 253.4
  },
  "luminance": 0.30004
}

Semantic roles & 50–950 ramp

primary
#5F98DB
secondary
#E2CDB4
accent
#7A1ACB
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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