#5F98F9#5F98F9

#5F98F9 is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.156 H 260.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5F98F9
RGBrgb(95, 152, 249)
HSLhsl(218, 93%, 67%)
HSVhsv(218, 62%, 98%)
CMYKcmyk(61.8%, 39%, 0%, 2.4%)
CIE-LABlab(63.12, 10.55, -54.02)
CIE-LCHlch(63.12, 55.04, 281.05°)
OKLaboklab(68.52% -0.026 -0.1536)
OKLCHoklch(68.52% 0.156 260.4)
XYZxyz(33.0404, 31.7259, 93.9867)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98F9 #F9C05F
analogous
#5FE5F9 #5F98F9 #735FF9
triadic
#5F98F9 #F95F98 #98F95F
tetradic
#5F98F9 #F95FE5 #F9C05F #5FF973
square
#5F98F9 #F95FE5 #F9C05F #5FF973
split-complementary
#5F98F9 #F9735F #E5F95F
monochromatic
#0854D6 #2472F7 #5F98F9 #9ABEFB #D5E4FD

Accessibility & contrast

On white

2.86
#5F98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5F98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98F9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98F9#FFFFFF#000000##000000
##5F98F91.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f98f9;
/* rgb */ color: rgb(95, 152, 249);
/* oklch */ color: oklch(68.5% 0.156 260.4);
Tailwind
colors: {
  custom: {
    50: '#99b5fc',
    500: '#5f98f9',
    950: '#000000',
  },
}
SCSS
$custom: #5f98f9;
$custom-light: #99b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98f9",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 217.792,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.1558,
    "h": 260.4
  },
  "luminance": 0.31729
}

Semantic roles & 50–950 ramp

primary
#5F98F9
secondary
#F2E0C2
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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