#5F89F5#5F89F5

#5F89F5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.2% C 0.168 H 265.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5F89F5
RGBrgb(95, 137, 245)
HSLhsl(223, 88%, 67%)
HSVhsv(223, 61%, 96%)
CMYKcmyk(61.2%, 44.1%, 0%, 3.9%)
CIE-LABlab(58.89, 18.14, -58.55)
CIE-LCHlch(58.89, 61.30, 287.22°)
OKLaboklab(65.2% -0.0119 -0.1671)
OKLCHoklch(65.2% 0.168 265.9)
XYZxyz(30.1407, 26.9141, 89.9751)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89F5 #F5CB5F
analogous
#5FD4F5 #5F89F5 #805FF5
triadic
#5F89F5 #F55F89 #89F55F
tetradic
#5F89F5 #F55FD4 #F5CB5F #5FF580
square
#5F89F5 #F55FD4 #F5CB5F #5FF580
split-complementary
#5F89F5 #F5805F #D4F55F
monochromatic
#0D43CD #255FF1 #5F89F5 #99B3F9 #D2DEFC

Accessibility & contrast

On white

3.29
#5F89F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5F89F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89F5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89F5#FFFFFF#000000##000000
##5F89F51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f89f5;
/* rgb */ color: rgb(95, 137, 245);
/* oklch */ color: oklch(65.2% 0.168 265.9);
Tailwind
colors: {
  custom: {
    50: '#99aaf9',
    500: '#5f89f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f89f5;
$custom-light: #99aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89f5",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 223.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.16751,
    "h": 265.9
  },
  "luminance": 0.26917
}

Semantic roles & 50–950 ramp

primary
#5F89F5
secondary
#F0E3C0
accent
#A501E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F89F5

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

Preview Lab → · Contrast checker → · Palette generator →

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