#5F89F8#5F89F8

#5F89F8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.4% C 0.172 H 266.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5F89F8
RGBrgb(95, 137, 248)
HSLhsl(224, 92%, 67%)
HSVhsv(224, 62%, 97%)
CMYKcmyk(61.7%, 44.8%, 0%, 2.7%)
CIE-LABlab(59.07, 19.14, -59.93)
CIE-LCHlch(59.07, 62.91, 287.71°)
OKLaboklab(65.38% -0.0114 -0.1711)
OKLCHoklch(65.38% 0.172 266.2)
XYZxyz(30.6024, 27.0988, 92.4066)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89F8 #F8CE5F
analogous
#5FD6F8 #5F89F8 #815FF8
triadic
#5F89F8 #F85F89 #89F85F
tetradic
#5F89F8 #F85FD6 #F8CE5F #5FF881
square
#5F89F8 #F85FD6 #F8CE5F #5FF881
split-complementary
#5F89F8 #F8815F #D6F85F
monochromatic
#0941D3 #245EF5 #5F89F8 #9AB4FB #D4DFFD

Accessibility & contrast

On white

3.27
#5F89F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5F89F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89F8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89F8#FFFFFF#000000##000000
##5F89F81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#3B88F6
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f89f8;
/* rgb */ color: rgb(95, 137, 248);
/* oklch */ color: oklch(65.4% 0.172 266.2);
Tailwind
colors: {
  custom: {
    50: '#99aafb',
    500: '#5f89f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f89f8;
$custom-light: #99aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89f8",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 223.529,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.17153,
    "h": 266.2
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

primary
#5F89F8
secondary
#F2E4C1
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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