#5F89CF#5F89CF

#5F89CF is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.0% C 0.116 H 260.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5F89CF
RGBrgb(95, 137, 207)
HSLhsl(218, 54%, 59%)
HSVhsv(218, 54%, 81%)
CMYKcmyk(54.1%, 33.8%, 0%, 18.8%)
CIE-LABlab(56.91, 5.78, -40.51)
CIE-LCHlch(56.91, 40.92, 278.12°)
OKLaboklab(63.01% -0.0198 -0.1143)
OKLCHoklch(63.01% 0.116 260.2)
XYZxyz(24.9236, 24.8273, 62.4981)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89CF #CFA55F
analogous
#5FC1CF #5F89CF #6D5FCF
triadic
#5F89CF #CF5F89 #89CF5F
tetradic
#5F89CF #CF5FC1 #CFA55F #5FCF6D
square
#5F89CF #CF5FC1 #CFA55F #5FCF6D
split-complementary
#5F89CF #CF6D5F #C1CF5F
monochromatic
#294E8A #3868B9 #5F89CF #8EACDD #BDCEEB

Accessibility & contrast

On white

3.52
#5F89CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5F89CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89CF#FFFFFF#000000##000000
##5F89CF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED2
Deuteranopia (green-blind)
#5F84CE
Tritanopia (blue-blind)
#1E98A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f89cf;
/* rgb */ color: rgb(95, 137, 207);
/* oklch */ color: oklch(63.0% 0.116 260.2);
Tailwind
colors: {
  custom: {
    50: '#94abde',
    500: '#5f89cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f89cf;
$custom-light: #94abde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89cf",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 217.5,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.116,
    "h": 260.2
  },
  "luminance": 0.24829
}

Semantic roles & 50–950 ramp

primary
#5F89CF
secondary
#DBCAAF
accent
#A64BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F89CF

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

Preview Lab → · Contrast checker → · Palette generator →

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